make this G_PRIORITY_DEFAULT.

Sat Jan  2 03:54:30 1999  Tim Janik  <timj@gtk.org>

        * 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.
This commit is contained in:
Tim Janik 1999-01-02 22:19:15 +00:00 committed by Tim Janik
parent d6890b721d
commit e573567b99
10 changed files with 52 additions and 3 deletions

View File

@ -1,3 +1,10 @@
Sat Jan 2 03:54:30 1999 Tim Janik <timj@gtk.org>
* 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 <jgarzik@pobox.com>
* configure.in, config.h.in, gdk/gdkimage.c:

View File

@ -1,3 +1,10 @@
Sat Jan 2 03:54:30 1999 Tim Janik <timj@gtk.org>
* 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 <jgarzik@pobox.com>
* configure.in, config.h.in, gdk/gdkimage.c:

View File

@ -1,3 +1,10 @@
Sat Jan 2 03:54:30 1999 Tim Janik <timj@gtk.org>
* 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 <jgarzik@pobox.com>
* configure.in, config.h.in, gdk/gdkimage.c:

View File

@ -1,3 +1,10 @@
Sat Jan 2 03:54:30 1999 Tim Janik <timj@gtk.org>
* 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 <jgarzik@pobox.com>
* configure.in, config.h.in, gdk/gdkimage.c:

View File

@ -1,3 +1,10 @@
Sat Jan 2 03:54:30 1999 Tim Janik <timj@gtk.org>
* 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 <jgarzik@pobox.com>
* configure.in, config.h.in, gdk/gdkimage.c:

View File

@ -1,3 +1,10 @@
Sat Jan 2 03:54:30 1999 Tim Janik <timj@gtk.org>
* 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 <jgarzik@pobox.com>
* configure.in, config.h.in, gdk/gdkimage.c:

View File

@ -1,3 +1,10 @@
Sat Jan 2 03:54:30 1999 Tim Janik <timj@gtk.org>
* 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 <jgarzik@pobox.com>
* configure.in, config.h.in, gdk/gdkimage.c:

View File

@ -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);

View File

@ -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;

View File

@ -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;