remove the x event handler
authorDana Jansens <danakj@orodu.net>
Sun, 14 Sep 2003 21:07:38 +0000 (21:07 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 14 Sep 2003 21:07:38 +0000 (21:07 +0000)
openbox/startupnotify.c

index 8866e40..9b81d98 100644 (file)
@@ -50,6 +50,8 @@ void sn_shutdown(gboolean reconfig)
 
     if (reconfig) return;
 
+    ob_main_loop_x_remove(ob_main_loop, sn_handler);
+
     for (it = sn_waits; it; it = g_slist_next(it))
         wait_data_free(it->data);
     g_slist_free(sn_waits);