summaryrefslogtreecommitdiff
path: root/gdk/gdkglobals.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>1998-12-16 20:09:30 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-12-16 20:09:30 +0000
commitfcfe7370d8a9ac7b169282418e4f2bc58e6d9eb4 (patch)
treeb1629251195a04377d72cbb49a90af3db3c18afb /gdk/gdkglobals.c
parent0dcdac5828bfb039f0a35be2d21fd6b3b8750d4c (diff)
downloadgtk+-fcfe7370d8a9ac7b169282418e4f2bc58e6d9eb4.tar.gz
Move main thread lock back to GDK - we need it there for locking when
Wed Dec 16 13:06:17 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdk.[ch] gtk/gtkmain.[ch] gtk/gtkprivate.h: Move main thread lock back to GDK - we need it there for locking when translating events. Rename things appropriately. Wed Dec 16 11:44:21 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkrange.c (gtk_range_expose): Fix a x/y typo. CVS:
Diffstat (limited to 'gdk/gdkglobals.c')
-rw-r--r--gdk/gdkglobals.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkglobals.c b/gdk/gdkglobals.c
index d0832767c7..eabd107db4 100644
--- a/gdk/gdkglobals.c
+++ b/gdk/gdkglobals.c
@@ -64,6 +64,8 @@ GdkWindowPrivate *gdk_xgrab_window = NULL; /* Window that currently holds the
* x pointer grab
*/
+GMutex *gdk_threads_mutex = NULL; /* Global GDK lock */
+
#ifdef USE_XIM
GdkICPrivate *gdk_xim_ic; /* currently using IC */
GdkWindow *gdk_xim_window; /* currently using Window */