From acfa2af3c2eacd099869cc5aebdcfa1241214e8b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 13 May 2007 07:45:15 +0000 Subject: use the right list in client_add_hide_notify, rename destructor to destroy_notify which is really what it is, and is more consistant now that there are 2 notifies --- openbox/client_list_menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/client_list_menu.c') diff --git a/openbox/client_list_menu.c b/openbox/client_list_menu.c index 351790be..77cfc193 100644 --- a/openbox/client_list_menu.c +++ b/openbox/client_list_menu.c @@ -194,7 +194,7 @@ void client_list_menu_startup(gboolean reconfig) ObMenu *menu; if (!reconfig) - client_add_destructor(client_dest, NULL); + client_add_destroy_notify(client_dest, NULL); menu = menu_new(MENU_NAME, _("Desktops"), TRUE, NULL); menu_set_update_func(menu, self_update); @@ -203,5 +203,5 @@ void client_list_menu_startup(gboolean reconfig) void client_list_menu_shutdown(gboolean reconfig) { if (!reconfig) - client_remove_destructor(client_dest); + client_remove_destroy_notify(client_dest); } -- cgit v1.2.3