[gnome-shell/app-picker-refresh: 15/16] shell-app-usage: Remove unused parameter



commit 10e16cca227e159b3da3009c81acc5acdcd4d773
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Feb 18 22:54:52 2013 +0100

    shell-app-usage: Remove unused parameter
    
    https://bugzilla.gnome.org/show_bug.cgi?id=694192

 src/shell-app-usage.c |    5 +----
 src/shell-app-usage.h |    3 +--
 2 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/shell-app-usage.c b/src/shell-app-usage.c
index bab217c..ab72300 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 aacd364..4016b58 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]