diff options
author | Owen Taylor <otaylor@redhat.com> | 1998-12-16 20:09:30 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1998-12-16 20:09:30 +0000 |
commit | fcfe7370d8a9ac7b169282418e4f2bc58e6d9eb4 (patch) | |
tree | b1629251195a04377d72cbb49a90af3db3c18afb /gtk/gtktooltips.c | |
parent | 0dcdac5828bfb039f0a35be2d21fd6b3b8750d4c (diff) | |
download | gtk+-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/gtktooltips.c')
-rw-r--r-- | gtk/gtktooltips.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtktooltips.c b/gtk/gtktooltips.c index 41bb12d712..03d99774f7 100644 --- a/gtk/gtktooltips.c +++ b/gtk/gtktooltips.c @@ -21,7 +21,6 @@ #include <stdio.h> #include "gtkmain.h" -#include "gtkprivate.h" #include "gtkwidget.h" #include "gtkwindow.h" #include "gtksignal.h" @@ -495,13 +494,13 @@ gtk_tooltips_timeout (gpointer data) { GtkTooltips *tooltips = (GtkTooltips *) data; - GTK_THREADS_ENTER (); + GDK_THREADS_ENTER (); if (tooltips->active_tips_data != NULL && GTK_WIDGET_DRAWABLE (tooltips->active_tips_data->widget)) gtk_tooltips_draw_tips (tooltips); - GTK_THREADS_LEAVE (); + GDK_THREADS_LEAVE (); return FALSE; } |