summaryrefslogtreecommitdiff
path: root/gtk/gtkspinbutton.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 /gtk/gtkspinbutton.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 'gtk/gtkspinbutton.c')
-rw-r--r--gtk/gtkspinbutton.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index d3d4ef6b80..54162c5f07 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -28,7 +28,6 @@
#include "gdk/gdkkeysyms.h"
#include "gtkspinbutton.h"
#include "gtkmain.h"
-#include "gtkprivate.h"
#include "gtksignal.h"
@@ -910,7 +909,7 @@ gtk_spin_button_timer (GtkSpinButton *spin_button)
{
gboolean retval = FALSE;
- GTK_THREADS_ENTER ();
+ GDK_THREADS_ENTER ();
if (spin_button->timer)
{
@@ -943,7 +942,7 @@ gtk_spin_button_timer (GtkSpinButton *spin_button)
}
}
- GTK_THREADS_LEAVE ();
+ GDK_THREADS_LEAVE ();
return retval;
}