Fix memory leak in getting applications from menu

https://bugzilla.gnome.org/show_bug.cgi?id=595321
This commit is contained in:
Colin Walters 2009-09-22 12:45:43 -04:00
parent 0b6d09bbe2
commit 90e6769638

View File

@ -539,7 +539,7 @@ shell_app_menu_entry_get_type (void)
* Traverses a toplevel menu, and returns all items under it. Nested items * Traverses a toplevel menu, and returns all items under it. Nested items
* are flattened. * are flattened.
* *
* Return value: (transfer container) (element-type ShellAppInfo): List of applications * Return value: (transfer full) (element-type ShellAppInfo): List of applications
*/ */
GSList * GSList *
shell_app_system_get_applications_for_menu (ShellAppSystem *monitor, shell_app_system_get_applications_for_menu (ShellAppSystem *monitor,