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

This commit is contained in:
Jasper St. Pierre 2011-08-30 12:54:49 -04:00
parent 0b4cc14aa6
commit faae2daae8
3 changed files with 8 additions and 2 deletions

View File

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

View File

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

View File

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