#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);
void obt_main_loop_run(ObtMainLoop *loop);
void obt_main_loop_exit(ObtMainLoop *loop);
+G_END_DECLS
+
#endif