gmain: fix g_main_context_check declaration

g_main_context_check is defined as a function returning gboolean.
It should be declared as such.

https://bugzilla.gnome.org/show_bug.cgi?id=774086
This commit is contained in:
Mohammed Sadiq 2016-11-08 07:38:44 +05:30 committed by Colin Walters
parent d8acf9b956
commit 4607bd377f

View File

@ -366,10 +366,10 @@ gint g_main_context_query (GMainContext *context,
GPollFD *fds, GPollFD *fds,
gint n_fds); gint n_fds);
GLIB_AVAILABLE_IN_ALL GLIB_AVAILABLE_IN_ALL
gint g_main_context_check (GMainContext *context, gboolean g_main_context_check (GMainContext *context,
gint max_priority, gint max_priority,
GPollFD *fds, GPollFD *fds,
gint n_fds); gint n_fds);
GLIB_AVAILABLE_IN_ALL GLIB_AVAILABLE_IN_ALL
void g_main_context_dispatch (GMainContext *context); void g_main_context_dispatch (GMainContext *context);