add G_BEGIN/END_DECLS to the mainloop header
This commit is contained in:
parent
a2f5a826a1
commit
27274cff9c
1 changed files with 4 additions and 0 deletions
|
@ -23,6 +23,8 @@
|
|||
#include <X11/Xlib.h>
|
||||
#include <glib.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _ObtMainLoop ObtMainLoop;
|
||||
|
||||
ObtMainLoop *obt_main_loop_new(Display *display);
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue