From e573567b9929036513d85654a445d28d54c834bf Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Sat, 2 Jan 1999 22:19:15 +0000 Subject: [PATCH] make this G_PRIORITY_DEFAULT. Sat Jan 2 03:54:30 1999 Tim Janik * gdk/gdk.h (GDK_PRIORITY_EVENTS): make this G_PRIORITY_DEFAULT. * gdk/gdkevents.c (gdk_events_init): add the source and the poll fd with a priority of GDK_PRIORITY_EVENTS. --- ChangeLog | 7 +++++++ ChangeLog.pre-2-0 | 7 +++++++ ChangeLog.pre-2-10 | 7 +++++++ ChangeLog.pre-2-2 | 7 +++++++ ChangeLog.pre-2-4 | 7 +++++++ ChangeLog.pre-2-6 | 7 +++++++ ChangeLog.pre-2-8 | 7 +++++++ gdk/gdk.h | 2 +- gdk/gdkevents.c | 2 +- gdk/x11/gdkevents-x11.c | 2 +- 10 files changed, 52 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1af03da210..4c0ab85060 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Sat Jan 2 03:54:30 1999 Tim Janik + + * gdk/gdk.h (GDK_PRIORITY_EVENTS): make this G_PRIORITY_DEFAULT. + + * gdk/gdkevents.c (gdk_events_init): add the source and the poll fd with + a priority of GDK_PRIORITY_EVENTS. + 1999-01-02 Jeff Garzik * configure.in, config.h.in, gdk/gdkimage.c: diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 1af03da210..4c0ab85060 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,10 @@ +Sat Jan 2 03:54:30 1999 Tim Janik + + * gdk/gdk.h (GDK_PRIORITY_EVENTS): make this G_PRIORITY_DEFAULT. + + * gdk/gdkevents.c (gdk_events_init): add the source and the poll fd with + a priority of GDK_PRIORITY_EVENTS. + 1999-01-02 Jeff Garzik * configure.in, config.h.in, gdk/gdkimage.c: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 1af03da210..4c0ab85060 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +Sat Jan 2 03:54:30 1999 Tim Janik + + * gdk/gdk.h (GDK_PRIORITY_EVENTS): make this G_PRIORITY_DEFAULT. + + * gdk/gdkevents.c (gdk_events_init): add the source and the poll fd with + a priority of GDK_PRIORITY_EVENTS. + 1999-01-02 Jeff Garzik * configure.in, config.h.in, gdk/gdkimage.c: diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 1af03da210..4c0ab85060 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,10 @@ +Sat Jan 2 03:54:30 1999 Tim Janik + + * gdk/gdk.h (GDK_PRIORITY_EVENTS): make this G_PRIORITY_DEFAULT. + + * gdk/gdkevents.c (gdk_events_init): add the source and the poll fd with + a priority of GDK_PRIORITY_EVENTS. + 1999-01-02 Jeff Garzik * configure.in, config.h.in, gdk/gdkimage.c: diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 1af03da210..4c0ab85060 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,10 @@ +Sat Jan 2 03:54:30 1999 Tim Janik + + * gdk/gdk.h (GDK_PRIORITY_EVENTS): make this G_PRIORITY_DEFAULT. + + * gdk/gdkevents.c (gdk_events_init): add the source and the poll fd with + a priority of GDK_PRIORITY_EVENTS. + 1999-01-02 Jeff Garzik * configure.in, config.h.in, gdk/gdkimage.c: diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 1af03da210..4c0ab85060 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +Sat Jan 2 03:54:30 1999 Tim Janik + + * gdk/gdk.h (GDK_PRIORITY_EVENTS): make this G_PRIORITY_DEFAULT. + + * gdk/gdkevents.c (gdk_events_init): add the source and the poll fd with + a priority of GDK_PRIORITY_EVENTS. + 1999-01-02 Jeff Garzik * configure.in, config.h.in, gdk/gdkimage.c: diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 1af03da210..4c0ab85060 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +Sat Jan 2 03:54:30 1999 Tim Janik + + * gdk/gdk.h (GDK_PRIORITY_EVENTS): make this G_PRIORITY_DEFAULT. + + * gdk/gdkevents.c (gdk_events_init): add the source and the poll fd with + a priority of GDK_PRIORITY_EVENTS. + 1999-01-02 Jeff Garzik * configure.in, config.h.in, gdk/gdkimage.c: diff --git a/gdk/gdk.h b/gdk/gdk.h index c929fe4d7a..97441a27d3 100644 --- a/gdk/gdk.h +++ b/gdk/gdk.h @@ -29,7 +29,7 @@ extern "C" { /* Initialization, exit and events */ -#define GDK_PRIORITY_EVENTS (-10) +#define GDK_PRIORITY_EVENTS (G_PRIORITY_DEFAULT) void gdk_init (gint *argc, gchar ***argv); void gdk_exit (gint error_code); diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c index ecffbae84e..e8b0444467 100644 --- a/gdk/gdkevents.c +++ b/gdk/gdkevents.c @@ -130,7 +130,7 @@ gdk_events_init (void) GDK_NOTE (MISC, g_message ("connection number: %d", connection_number)); - g_source_add (G_PRIORITY_DEFAULT, TRUE, &event_funcs, NULL, NULL, NULL); + g_source_add (GDK_PRIORITY_EVENTS, TRUE, &event_funcs, NULL, NULL, NULL); event_poll_fd.fd = connection_number; event_poll_fd.events = G_IO_IN; diff --git a/gdk/x11/gdkevents-x11.c b/gdk/x11/gdkevents-x11.c index ecffbae84e..e8b0444467 100644 --- a/gdk/x11/gdkevents-x11.c +++ b/gdk/x11/gdkevents-x11.c @@ -130,7 +130,7 @@ gdk_events_init (void) GDK_NOTE (MISC, g_message ("connection number: %d", connection_number)); - g_source_add (G_PRIORITY_DEFAULT, TRUE, &event_funcs, NULL, NULL, NULL); + g_source_add (GDK_PRIORITY_EVENTS, TRUE, &event_funcs, NULL, NULL, NULL); event_poll_fd.fd = connection_number; event_poll_fd.events = G_IO_IN;