diff --git a/src/shell-app-usage.c b/src/shell-app-usage.c index bab217cd7..ab72300e2 100644 --- a/src/shell-app-usage.c +++ b/src/shell-app-usage.c @@ -480,8 +480,6 @@ sort_apps_by_usage (gconstpointer a, * shell_app_usage_get_most_used: * @usage: the usage instance to request * @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. * @@ -489,8 +487,7 @@ sort_apps_by_usage (gconstpointer a, */ GSList * shell_app_usage_get_most_used (ShellAppUsage *self, - const char *context, - gint max_count) + const char *context) { GSList *apps; GList *appids, *iter; diff --git a/src/shell-app-usage.h b/src/shell-app-usage.h index aacd364b6..4016b58c5 100644 --- a/src/shell-app-usage.h +++ b/src/shell-app-usage.h @@ -28,8 +28,7 @@ GType shell_app_usage_get_type (void) G_GNUC_CONST; ShellAppUsage* shell_app_usage_get_default(void); GSList *shell_app_usage_get_most_used (ShellAppUsage *usage, - const char *context, - gint max_count); + const char *context); int shell_app_usage_compare (ShellAppUsage *self, const char *context, ShellApp *app_a,