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/mainloop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/mainloop.c') diff --git a/openbox/mainloop.c b/openbox/mainloop.c index 2af81629..0e7b0b3c 100644 --- a/openbox/mainloop.c +++ b/openbox/mainloop.c @@ -282,7 +282,7 @@ void ob_main_loop_run(ObMainLoop *loop) loop->run = TRUE; loop->running = TRUE; - client_add_destructor(ob_main_loop_client_destroy, loop); + client_add_destroy_notify(ob_main_loop_client_destroy, loop); while (loop->run) { if (loop->signal_fired) { @@ -365,7 +365,7 @@ void ob_main_loop_run(ObMainLoop *loop) } } - client_remove_destructor(ob_main_loop_client_destroy); + client_remove_destroy_notify(ob_main_loop_client_destroy); loop->running = FALSE; } -- cgit v1.2.3