mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-26 19:08:57 +02:00
GMainContext useful in implementing some additional styles of main loop
* gmain.c, gmain.h (g_main_context_new, g_main_context_destroy): GMainContext useful in implementing some additional styles of main loop usage. To do this, however, Joe Hacker needs to be able to create/destroy GMainContext's at will. This is just an export of existing functionality, rather than new functionality. They are listed in the "Low level functions for implementing custom main loops" section of the header file, to avoid confusing people. * gobject/Makefile.am: . You have to 'touch oldest-source-stamp' if you want to avoid having the Makefile constantly rebuild itself. . Fix marshaller generation rules to work with srcdir != builddir (there were issues with trying to run "./glib-genmarshal", etc.)
This commit is contained in:
3
gmain.h
3
gmain.h
@@ -143,6 +143,9 @@ GSource *g_main_context_find_source_by_funcs_user_data (GMainContext *conte
|
||||
|
||||
/* Low level functions for implementing custom main loops.
|
||||
*/
|
||||
GMainContext *g_main_context_new (GThread *thread);
|
||||
void g_main_context_destroy (GMainContext *context);
|
||||
|
||||
gboolean g_main_context_prepare (GMainContext *context,
|
||||
gint *priority);
|
||||
gint g_main_context_query (GMainContext *context,
|
||||
|
Reference in New Issue
Block a user