[glib/wip/gdesktopappinfo] desktop file search: Mark sort_by as allow-none



commit c8c1615fda52925dd11667fbf1c4d0ba2608424d
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu Sep 19 13:36:14 2013 -0400

    desktop file search: Mark sort_by as allow-none
    
    We can deal with NULL here, so let introspection know about it.

 gio/gdesktopappinfo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c
index 35cce6d..1a77a95 100644
--- a/gio/gdesktopappinfo.c
+++ b/gio/gdesktopappinfo.c
@@ -3748,7 +3748,7 @@ g_app_info_get_default_for_uri_scheme (const char *uri_scheme)
 /**
  * g_desktop_app_info_search:
  * @token: the search token
- * @sort_by: (scope call): a string sorting function
+ * @sort_by: (scope call) (allow-none): a string sorting function
  * @user_data: (closure sort_by): user_data for @sort_by
  * @max_hits: the maximum number of hits, or -1
  *



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