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:
This commit is contained in:
@ -21,7 +21,6 @@
|
||||
#include "gdk/gdkkeysyms.h"
|
||||
#include "gdk/gdki18n.h"
|
||||
#include "gtkmain.h"
|
||||
#include "gtkprivate.h"
|
||||
#include "gtkselection.h"
|
||||
#include "gtksignal.h"
|
||||
#include "gtktext.h"
|
||||
@ -1701,7 +1700,7 @@ gtk_text_scroll_timeout (gpointer data)
|
||||
gint x, y;
|
||||
GdkModifierType mask;
|
||||
|
||||
GTK_THREADS_ENTER ();
|
||||
GDK_THREADS_ENTER ();
|
||||
|
||||
text = GTK_TEXT (data);
|
||||
|
||||
@ -1718,7 +1717,7 @@ gtk_text_scroll_timeout (gpointer data)
|
||||
gtk_text_motion_notify (GTK_WIDGET (text), &event);
|
||||
}
|
||||
|
||||
GTK_THREADS_LEAVE ();
|
||||
GDK_THREADS_LEAVE ();
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user