summaryrefslogtreecommitdiff
path: root/libwnck/window-action-menu.c
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2007-06-19 22:06:16 +0000
committerVincent Untz <vuntz@src.gnome.org>2007-06-19 22:06:16 +0000
commit18fb9acb6bc570425f301e58192d5304b7fc7fdd (patch)
tree3a6de3d446a41f584c8c42893c6be5784272f70b /libwnck/window-action-menu.c
parent25278bc670536ef213dfc866af68c99d3338451b (diff)
downloadlibwnck-18fb9acb6bc570425f301e58192d5304b7fc7fdd.tar.gz
Use GSlice.
2007-06-20 Vincent Untz <vuntz@gnome.org> * libwnck/window-action-menu.c: (amd_free), (wnck_create_window_action_menu): * libwnck/xutils.c: (_wnck_icon_cache_new), (_wnck_icon_cache_free), (_wnck_free_layout_manager), (_wnck_try_desktop_layout_manager): Use GSlice. svn path=/trunk/; revision=1343
Diffstat (limited to 'libwnck/window-action-menu.c')
-rw-r--r--libwnck/window-action-menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libwnck/window-action-menu.c b/libwnck/window-action-menu.c
index 94b1605..944cd65 100644
--- a/libwnck/window-action-menu.c
+++ b/libwnck/window-action-menu.c
@@ -486,7 +486,7 @@ amd_free (ActionMenuData *amd)
if (amd->idle_handler)
g_source_remove (amd->idle_handler);
- g_free (amd);
+ g_slice_free (ActionMenuData, amd);
}
static char *
@@ -585,7 +585,7 @@ wnck_create_window_action_menu (WnckWindow *window)
_wnck_stock_icons_init ();
- amd = g_new0 (ActionMenuData, 1);
+ amd = g_slice_new0 (ActionMenuData);
amd->window = window;
menu = gtk_menu_new ();