]> Dogcows Code - chaz/openbox/blobdiff - obt/mainloop.h
destroy XIC's that belong to an XIM before closing the XIM, else Xlib will seggie!
[chaz/openbox] / obt / mainloop.h
index 46e19f03f3a569ad372fdd71f8154dffff6a0fb8..f455d62995a1b4bf750d27e34f2a40eee40ea821 100644 (file)
 #include <X11/Xlib.h>
 #include <glib.h>
 
+G_BEGIN_DECLS
+
 typedef struct _ObtMainLoop ObtMainLoop;
 
-ObtMainLoop *obt_main_loop_new(Display *display);
+ObtMainLoop *obt_main_loop_new(void);
 void        obt_main_loop_ref(ObtMainLoop *loop);
 void        obt_main_loop_unref(ObtMainLoop *loop);
 
@@ -74,4 +76,6 @@ void obt_main_loop_timeout_remove_data(ObtMainLoop *loop,
 void obt_main_loop_run(ObtMainLoop *loop);
 void obt_main_loop_exit(ObtMainLoop *loop);
 
+G_END_DECLS
+
 #endif
This page took 0.020724 seconds and 4 git commands to generate.