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:
@ -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>
|
1999-01-02 Jeff Garzik <jgarzik@pobox.com>
|
||||||
|
|
||||||
* configure.in, config.h.in, gdk/gdkimage.c:
|
* configure.in, config.h.in, gdk/gdkimage.c:
|
||||||
|
|||||||
@ -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>
|
1999-01-02 Jeff Garzik <jgarzik@pobox.com>
|
||||||
|
|
||||||
* configure.in, config.h.in, gdk/gdkimage.c:
|
* configure.in, config.h.in, gdk/gdkimage.c:
|
||||||
|
|||||||
@ -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>
|
1999-01-02 Jeff Garzik <jgarzik@pobox.com>
|
||||||
|
|
||||||
* configure.in, config.h.in, gdk/gdkimage.c:
|
* configure.in, config.h.in, gdk/gdkimage.c:
|
||||||
|
|||||||
@ -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>
|
1999-01-02 Jeff Garzik <jgarzik@pobox.com>
|
||||||
|
|
||||||
* configure.in, config.h.in, gdk/gdkimage.c:
|
* configure.in, config.h.in, gdk/gdkimage.c:
|
||||||
|
|||||||
@ -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>
|
1999-01-02 Jeff Garzik <jgarzik@pobox.com>
|
||||||
|
|
||||||
* configure.in, config.h.in, gdk/gdkimage.c:
|
* configure.in, config.h.in, gdk/gdkimage.c:
|
||||||
|
|||||||
@ -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>
|
1999-01-02 Jeff Garzik <jgarzik@pobox.com>
|
||||||
|
|
||||||
* configure.in, config.h.in, gdk/gdkimage.c:
|
* configure.in, config.h.in, gdk/gdkimage.c:
|
||||||
|
|||||||
@ -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>
|
1999-01-02 Jeff Garzik <jgarzik@pobox.com>
|
||||||
|
|
||||||
* configure.in, config.h.in, gdk/gdkimage.c:
|
* configure.in, config.h.in, gdk/gdkimage.c:
|
||||||
|
|||||||
@ -29,7 +29,7 @@ extern "C" {
|
|||||||
|
|
||||||
/* Initialization, exit and events
|
/* Initialization, exit and events
|
||||||
*/
|
*/
|
||||||
#define GDK_PRIORITY_EVENTS (-10)
|
#define GDK_PRIORITY_EVENTS (G_PRIORITY_DEFAULT)
|
||||||
void gdk_init (gint *argc,
|
void gdk_init (gint *argc,
|
||||||
gchar ***argv);
|
gchar ***argv);
|
||||||
void gdk_exit (gint error_code);
|
void gdk_exit (gint error_code);
|
||||||
|
|||||||
@ -130,7 +130,7 @@ gdk_events_init (void)
|
|||||||
GDK_NOTE (MISC,
|
GDK_NOTE (MISC,
|
||||||
g_message ("connection number: %d", connection_number));
|
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.fd = connection_number;
|
||||||
event_poll_fd.events = G_IO_IN;
|
event_poll_fd.events = G_IO_IN;
|
||||||
|
|||||||
@ -130,7 +130,7 @@ gdk_events_init (void)
|
|||||||
GDK_NOTE (MISC,
|
GDK_NOTE (MISC,
|
||||||
g_message ("connection number: %d", connection_number));
|
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.fd = connection_number;
|
||||||
event_poll_fd.events = G_IO_IN;
|
event_poll_fd.events = G_IO_IN;
|
||||||
|
|||||||
Reference in New Issue
Block a user