diff options
author | Ted Gould <ted@gould.cx> | 2009-12-18 22:24:25 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2009-12-18 22:24:25 -0600 |
commit | 9276f061d4565b57a160ece79ec547550195188b (patch) | |
tree | 68629a04fc8a9c6df71efafb45f43edcc901c2c2 /libdbusmenu-glib | |
parent | 8f3554c1f22f58ab8e601a4efc5eabfbf04c2349 (diff) | |
download | libdbusmenu-9276f061d4565b57a160ece79ec547550195188b.tar.gz libdbusmenu-9276f061d4565b57a160ece79ec547550195188b.tar.bz2 libdbusmenu-9276f061d4565b57a160ece79ec547550195188b.zip |
Making sure we get our function.
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r-- | libdbusmenu-glib/menuitem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdbusmenu-glib/menuitem.c b/libdbusmenu-glib/menuitem.c index ec37da5..2cefce4 100644 --- a/libdbusmenu-glib/menuitem.c +++ b/libdbusmenu-glib/menuitem.c @@ -250,7 +250,7 @@ static guint menuitem_next_id = 1; /* A small little function to both clear the insides of a value as well as the memory it itself uses. */ static void -g_value_free (gpointer data) +_g_value_free (gpointer data) { if (data == NULL) return; GValue * value = (GValue*)data; @@ -269,7 +269,7 @@ dbusmenu_menuitem_init (DbusmenuMenuitem *self) priv->id = 0; priv->children = NULL; - priv->properties = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_value_free); + priv->properties = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, _g_value_free); priv->root = FALSE; |