shell-app-usage: Remove unused parameter

https://bugzilla.gnome.org/show_bug.cgi?id=694192
This commit is contained in:
Florian Müllner 2013-02-18 22:54:52 +01:00
parent 6628214484
commit 10e16cca22
2 changed files with 2 additions and 6 deletions

View File

@ -480,8 +480,6 @@ sort_apps_by_usage (gconstpointer a,
* shell_app_usage_get_most_used: * shell_app_usage_get_most_used:
* @usage: the usage instance to request * @usage: the usage instance to request
* @context: Activity identifier * @context: Activity identifier
* @max_count: how many applications are requested. Note that the actual
* list size may be less, or NULL if not enough applications are registered.
* *
* Get a list of most popular applications for a given context. * Get a list of most popular applications for a given context.
* *
@ -489,8 +487,7 @@ sort_apps_by_usage (gconstpointer a,
*/ */
GSList * GSList *
shell_app_usage_get_most_used (ShellAppUsage *self, shell_app_usage_get_most_used (ShellAppUsage *self,
const char *context, const char *context)
gint max_count)
{ {
GSList *apps; GSList *apps;
GList *appids, *iter; GList *appids, *iter;

View File

@ -28,8 +28,7 @@ GType shell_app_usage_get_type (void) G_GNUC_CONST;
ShellAppUsage* shell_app_usage_get_default(void); ShellAppUsage* shell_app_usage_get_default(void);
GSList *shell_app_usage_get_most_used (ShellAppUsage *usage, GSList *shell_app_usage_get_most_used (ShellAppUsage *usage,
const char *context, const char *context);
gint max_count);
int shell_app_usage_compare (ShellAppUsage *self, int shell_app_usage_compare (ShellAppUsage *self,
const char *context, const char *context,
ShellApp *app_a, ShellApp *app_a,