summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-12-18 02:23:48 +0000
committerTim Janik <timj@src.gnome.org>1998-12-18 02:23:48 +0000
commitd2dc06dae12bb67d85d3178b8de81ab576bc97b9 (patch)
tree4694800506b773d89929c7121e95739451984680 /gdk
parent11339ec5b383f25bdf9913cd9203da2b1fc4a0ca (diff)
downloadgtk+-d2dc06dae12bb67d85d3178b8de81ab576bc97b9.tar.gz
added gdk_flush() after g_main_run(), so we get the original behaviour
Fri Dec 18 01:32:59 1998 Tim Janik <timj@gtk.org> * gtk/gtkmain.c (gtk_main): added gdk_flush() after g_main_run(), so we get the original behaviour back, i.e. the event queue needs to be flushed after a main loop has been quitted. (gtk_main): add/remove the current main loop to/from the main loop before/after init/quit functions have been exected to preserve the original gtk_main_quit() behaviour. Thu Dec 17 23:48:29 1998 Tim Janik <timj@gtk.org> * gdk/gdkevents.c (gdk_events_init): changed argument order in call to g_main_add_poll() to match recent glib changes.
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdkevents.c2
-rw-r--r--gdk/x11/gdkevents-x11.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index f473692a4e..f96a680b6a 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -127,7 +127,7 @@ gdk_events_init (void)
event_poll_fd.fd = connection_number;
event_poll_fd.events = G_IO_IN;
- g_main_add_poll (-10, &event_poll_fd);
+ g_main_add_poll (&event_poll_fd, -10);
/* This is really crappy. We have to look into the display structure
* to find the base resource id. This is only needed for recording
diff --git a/gdk/x11/gdkevents-x11.c b/gdk/x11/gdkevents-x11.c
index f473692a4e..f96a680b6a 100644
--- a/gdk/x11/gdkevents-x11.c
+++ b/gdk/x11/gdkevents-x11.c
@@ -127,7 +127,7 @@ gdk_events_init (void)
event_poll_fd.fd = connection_number;
event_poll_fd.events = G_IO_IN;
- g_main_add_poll (-10, &event_poll_fd);
+ g_main_add_poll (&event_poll_fd, -10);
/* This is really crappy. We have to look into the display structure
* to find the base resource id. This is only needed for recording