[mutter] Add (element-type) annotations to make gobject-introspection happy



commit faae2daae847011e04181c0fde65d60209dc1d0f
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Aug 30 12:54:49 2011 -0400

    Add (element-type) annotations to make gobject-introspection happy

 src/core/display.c |    2 +-
 src/core/screen.c  |    2 +-
 src/core/util.c    |    6 ++++++
 3 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index 25182ac..9e44520 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -5058,7 +5058,7 @@ meta_display_stack_cmp (const void *a,
  * An example of using this would be to sort the list of transient dialogs for a
  * window into their current stacking order.
  *
- * Returns: (transfer container): Input windows sorted by stacking order, from lowest to highest
+ * Returns: (transfer container) (element-type MetaWindow): Input windows sorted by stacking order, from lowest to highest
  */
 GSList *
 meta_display_sort_windows_by_stacking (MetaDisplay *display,
diff --git a/src/core/screen.c b/src/core/screen.c
index 4f73b9d..05d33e9 100644
--- a/src/core/screen.c
+++ b/src/core/screen.c
@@ -3244,7 +3244,7 @@ meta_screen_sn_event (SnMonitorEvent *event,
  * meta_screen_get_startup_sequences:
  * @screen:
  *
- * Return value: (transfer none): Currently active #SnStartupSequence items
+ * Return value: (transfer none) (element-type SnStartupSequence): Currently active #SnStartupSequence items
  */
 GSList *
 meta_screen_get_startup_sequences (MetaScreen *screen)
diff --git a/src/core/util.c b/src/core/util.c
index 2ce5f79..e3537a8 100644
--- a/src/core/util.c
+++ b/src/core/util.c
@@ -254,6 +254,9 @@ utf8_fputs (const char *str,
   return retval;
 }
 
+/**
+ * meta_free_gslist_and_elements: (skip)
+ */
 void
 meta_free_gslist_and_elements (GSList *list_to_deep_free)
 {
@@ -603,6 +606,9 @@ append_argument (GPtrArray  *args,
   g_ptr_array_add (args, locale_arg);
 }
 
+/**
+ * meta_show_dialog: (skip)
+ */
 GPid
 meta_show_dialog (const char *type,
                   const char *message,



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