aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-07-12 01:33:34 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-07-12 01:33:34 +0800
commitccfab965e6affe6f6a4ed0c8e370a121ea4010e2 (patch)
tree4aeec0ab099d9c62a98bc4d7be5c5ad61c91c7e2 /lib/egg
parentebab320d3037aa258cd26b12841b63e7f8c50b7d (diff)
downloadgsoc2013-epiphany-ccfab965e6affe6f6a4ed0c8e370a121ea4010e2.tar
gsoc2013-epiphany-ccfab965e6affe6f6a4ed0c8e370a121ea4010e2.tar.gz
gsoc2013-epiphany-ccfab965e6affe6f6a4ed0c8e370a121ea4010e2.tar.bz2
gsoc2013-epiphany-ccfab965e6affe6f6a4ed0c8e370a121ea4010e2.tar.lz
gsoc2013-epiphany-ccfab965e6affe6f6a4ed0c8e370a121ea4010e2.tar.xz
gsoc2013-epiphany-ccfab965e6affe6f6a4ed0c8e370a121ea4010e2.tar.zst
gsoc2013-epiphany-ccfab965e6affe6f6a4ed0c8e370a121ea4010e2.zip
*** empty log message ***
Diffstat (limited to 'lib/egg')
-rw-r--r--lib/egg/egg-menu-merge.c1
-rw-r--r--lib/egg/egg-menu-merge.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/egg/egg-menu-merge.c b/lib/egg/egg-menu-merge.c
index 03f5686f0..f9e53594b 100644
--- a/lib/egg/egg-menu-merge.c
+++ b/lib/egg/egg-menu-merge.c
@@ -1263,6 +1263,7 @@ update_node (EggMenuMerge *self, GNode *node)
NODE_INFO(node)->type == EGG_MENU_MERGE_TOOLBAR_PLACEHOLDER) &&
NODE_INFO(node)->extra)
gtk_widget_destroy(NODE_INFO(node)->extra);
+ g_free (NODE_INFO(node)->name);
g_chunk_free(NODE_INFO(node), merge_node_chunk);
g_node_destroy(node);
}
diff --git a/lib/egg/egg-menu-merge.h b/lib/egg/egg-menu-merge.h
index 842663b58..6607b0ff3 100644
--- a/lib/egg/egg-menu-merge.h
+++ b/lib/egg/egg-menu-merge.h
@@ -55,7 +55,7 @@ struct _EggMenuMergeClass {
struct _EggMenuMergeNode {
EggMenuMergeNodeType type;
- const gchar *name;
+ gchar *name;
GQuark action_name;
EggAction *action;