X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmenu.c;h=dbb0c70129417f54213ee9abd775c6cdcee44038;hb=acfa2af3c2eacd099869cc5aebdcfa1241214e8b;hp=c6e986b970af1f97f5f65ed8e4bd167370fc5b2d;hpb=9f22554b6a1e7113b4ff86061327d9d0b0d87760;p=chaz%2Fopenbox diff --git a/openbox/menu.c b/openbox/menu.c index c6e986b9..dbb0c701 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -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;