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/keyboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/keyboard.c') diff --git a/openbox/keyboard.c b/openbox/keyboard.c index d758b386..1534e198 100644 --- a/openbox/keyboard.c +++ b/openbox/keyboard.c @@ -324,13 +324,13 @@ void keyboard_startup(gboolean reconfig) popup = popup_new(FALSE); if (!reconfig) - client_add_destructor(keyboard_interactive_end_client, NULL); + client_add_destroy_notify(keyboard_interactive_end_client, NULL); } void keyboard_shutdown(gboolean reconfig) { if (!reconfig) - client_remove_destructor(keyboard_interactive_end_client); + client_remove_destroy_notify(keyboard_interactive_end_client); if (istate.active) keyboard_interactive_end(0, TRUE, 0, TRUE); -- cgit v1.2.3