diff options
author | rbuj <[email protected]> | 2021-01-01 21:59:47 +0100 |
---|---|---|
committer | Luke from DC <[email protected]> | 2021-01-05 16:09:12 +0000 |
commit | b0051252aa0be743de3d0345a8a5393592e0ec29 (patch) | |
tree | b42e8058caae5e2c17cfbf63210e5a62564072da /libmenu | |
parent | 55b720e5ab69eeea2cde12866a1ee7700d773bb2 (diff) | |
download | mate-menus-b0051252aa0be743de3d0345a8a5393592e0ec29.tar.bz2 mate-menus-b0051252aa0be743de3d0345a8a5393592e0ec29.tar.xz |
matemenu-tree: Remove collection_applet_free
Diffstat (limited to 'libmenu')
-rw-r--r-- | libmenu/matemenu-tree.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libmenu/matemenu-tree.c b/libmenu/matemenu-tree.c index 0ee7502..522c545 100644 --- a/libmenu/matemenu-tree.c +++ b/libmenu/matemenu-tree.c @@ -607,12 +607,6 @@ matemenu_tree_get_property (GObject *object, } static void -collection_applet_free (char *desktop_name) -{ - g_free (desktop_name); -} - -static void matemenu_tree_finalize (GObject *object) { MateMenuTree *tree = MATEMENU_TREE (object); @@ -638,7 +632,7 @@ matemenu_tree_finalize (GObject *object) tree->entries_by_id = NULL; if (tree->collection_applet != NULL) { - g_ptr_array_foreach (tree->collection_applet,(GFunc) collection_applet_free, NULL); + g_ptr_array_foreach (tree->collection_applet, (GFunc) g_free, NULL); g_ptr_array_free (tree->collection_applet, TRUE); tree->collection_applet = NULL; } |