diff options
author | Owen Taylor <otaylor@redhat.com> | 1998-12-15 07:32:11 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1998-12-15 07:32:11 +0000 |
commit | a0c84d6818f278d273b43c651c345f2110bc7f37 (patch) | |
tree | cb07d50ab001a4538983c1d0421bcd69d9618cbf /gdk/gdkprivate.h | |
parent | 58475f05a54f7a165fe92adf8358f59cf0223c08 (diff) | |
download | gtk+-a0c84d6818f278d273b43c651c345f2110bc7f37.tar.gz |
Commented out testthreads from the build process, since we won't have any
Tue Dec 15 01:38:53 1998 Owen Taylor <otaylor@redhat.com>
* gtk/Makefile.am: Commented out testthreads from
the build process, since we won't have any idea
how to create a thread.
* configure.in (LIBS): use glib-config ... gthread
so we always build a thread-compatible library.
* gtk/gtkaccellabel.c gtk/gtkclist.c gtk/gtkcolorsel.c
gtk/gtkcombo.c gtk/gtkcontainer.c gtk/gtkentry.c
gtk/gtklist.c gtk/gtkmenuitem.c gtk/gtknotebook.c
gtk/gtkrange.c gtk/gtkselection.c gtk/gtkspinbutton.c
gtk/gtktext.c gtk/gtktooltips.c gtk/gtkwidget.c:
Add GTK_THREADS_ENTER/LEAVE pairs around timeouts
and idles to account for the fact that they are no
longer called within the GTK+ lock.
* gtk/gtkprivate.h: Added definitions for locking
the main GTK+ mutex.
* gtk/gtkmain.c: Re-implement the main loop
in terms of the GLib main loop.
* gdk/gdk.h gdk/gdkthreads.c gdk/Makefile.am: Removed threading
functionality, as it seems better to subsume GDK within the
GTK+ lock than vice-versa.
* gdk/gdkevents.c: New file, containing event handling bits
from gdk.c.
* gdk/gdkevents.c: Implement event source for GDK
events.
* configure.in gdk/gdkevents.c: Removed attempts to
subtract base_id, which were already non-functional.
Diffstat (limited to 'gdk/gdkprivate.h')
-rw-r--r-- | gdk/gdkprivate.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdk/gdkprivate.h b/gdk/gdkprivate.h index 6131cb55ae..07ab6b45c0 100644 --- a/gdk/gdkprivate.h +++ b/gdk/gdkprivate.h @@ -218,6 +218,7 @@ typedef enum { GDK_DEBUG_XIM = 1 << 4 } GdkDebugFlag; +void gdk_events_init (void); void gdk_window_init (void); void gdk_visual_init (void); void gdk_dnd_init (void); @@ -276,6 +277,12 @@ extern gint gdk_error_warnings; extern gint gdk_null_window_warnings; extern GList *gdk_default_filters; extern gboolean gdk_using_threads; +extern const int gdk_nevent_masks; +extern const int gdk_event_mask_table[]; + +extern GdkWindowPrivate *gdk_xgrab_window; /* Window that currently holds the + * x pointer grab + */ /* Threading stuff */ #ifdef USE_PTHREADS |