]> Dogcows Code - chaz/openbox/blobdiff - openbox/menu.c
when using openbox-gnome/kde-session, use a separate config file (rc-gnome/kde.xml)
[chaz/openbox] / openbox / menu.c
index 0e203739bda36ca15c2e9c0eae7c9075ad67f6b4..dbb0c70129417f54213ee9abd775c6cdcee44038 100644 (file)
@@ -110,13 +110,13 @@ void menu_startup(gboolean reconfig)
     g_assert(menu_parse_state.parent == NULL);
 
     if (!reconfig)
-        client_add_destructor(client_dest, NULL);
+        client_add_destroy_notify(client_dest, NULL);
 }
 
 void menu_shutdown(gboolean reconfig)
 {
     if (!reconfig)
-        client_remove_destructor(client_dest);
+        client_remove_destroy_notify(client_dest);
 
     parse_shutdown(menu_parse_inst);
     menu_parse_inst = NULL;
@@ -357,6 +357,7 @@ static void menu_destroy_hash_value(ObMenu *self)
     g_free(self->name);
     g_free(self->title);
     g_free(self->execute);
+    g_free(self->more_menu);
 
     g_free(self);
 }
This page took 0.020632 seconds and 4 git commands to generate.