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:
* @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;

View File

@ -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,