forked from AuroraMiddleware/gtk
ri Jun 14 10:00:29 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_update_idle): Add missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE(). (Report of non-thread-safety from Nicholas Allen) * gtk/gtkmain.c (rewrite_events_translate): Fix sign problem with coordinate translation. (Fix from Robin Lu, #85229)
This commit is contained in:
parent
2ea857cbb5
commit
b32da181ee
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
Fri Jun 14 10:00:29 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_update_idle): Add
|
||||
missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
|
||||
(Report of non-thread-safety from Nicholas Allen)
|
||||
|
||||
* gtk/gtkmain.c (rewrite_events_translate): Fix sign
|
||||
problem with coordinate translation. (Fix from
|
||||
Robin Lu, #85229)
|
||||
|
||||
Thu Jun 13 19:41:56 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/gtkselection.c gtk/gtkstyle.c
|
||||
|
@ -1,3 +1,13 @@
|
||||
Fri Jun 14 10:00:29 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_update_idle): Add
|
||||
missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
|
||||
(Report of non-thread-safety from Nicholas Allen)
|
||||
|
||||
* gtk/gtkmain.c (rewrite_events_translate): Fix sign
|
||||
problem with coordinate translation. (Fix from
|
||||
Robin Lu, #85229)
|
||||
|
||||
Thu Jun 13 19:41:56 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/gtkselection.c gtk/gtkstyle.c
|
||||
|
@ -1,3 +1,13 @@
|
||||
Fri Jun 14 10:00:29 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_update_idle): Add
|
||||
missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
|
||||
(Report of non-thread-safety from Nicholas Allen)
|
||||
|
||||
* gtk/gtkmain.c (rewrite_events_translate): Fix sign
|
||||
problem with coordinate translation. (Fix from
|
||||
Robin Lu, #85229)
|
||||
|
||||
Thu Jun 13 19:41:56 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/gtkselection.c gtk/gtkstyle.c
|
||||
|
@ -1,3 +1,13 @@
|
||||
Fri Jun 14 10:00:29 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_update_idle): Add
|
||||
missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
|
||||
(Report of non-thread-safety from Nicholas Allen)
|
||||
|
||||
* gtk/gtkmain.c (rewrite_events_translate): Fix sign
|
||||
problem with coordinate translation. (Fix from
|
||||
Robin Lu, #85229)
|
||||
|
||||
Thu Jun 13 19:41:56 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/gtkselection.c gtk/gtkstyle.c
|
||||
|
@ -1,3 +1,13 @@
|
||||
Fri Jun 14 10:00:29 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_update_idle): Add
|
||||
missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
|
||||
(Report of non-thread-safety from Nicholas Allen)
|
||||
|
||||
* gtk/gtkmain.c (rewrite_events_translate): Fix sign
|
||||
problem with coordinate translation. (Fix from
|
||||
Robin Lu, #85229)
|
||||
|
||||
Thu Jun 13 19:41:56 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/gtkselection.c gtk/gtkstyle.c
|
||||
|
@ -1,3 +1,13 @@
|
||||
Fri Jun 14 10:00:29 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_update_idle): Add
|
||||
missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
|
||||
(Report of non-thread-safety from Nicholas Allen)
|
||||
|
||||
* gtk/gtkmain.c (rewrite_events_translate): Fix sign
|
||||
problem with coordinate translation. (Fix from
|
||||
Robin Lu, #85229)
|
||||
|
||||
Thu Jun 13 19:41:56 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/gtkselection.c gtk/gtkstyle.c
|
||||
|
@ -2182,7 +2182,9 @@ gdk_window_process_all_updates (void)
|
||||
static gboolean
|
||||
gdk_window_update_idle (gpointer data)
|
||||
{
|
||||
GDK_THREADS_ENTER ();
|
||||
gdk_window_process_all_updates ();
|
||||
GDK_THREADS_LEAVE ();
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -1041,8 +1041,8 @@ rewrite_events_translate (GdkWindow *old_window,
|
||||
gdk_window_get_origin (old_window, &old_origin_x, &old_origin_y);
|
||||
gdk_window_get_origin (new_window, &new_origin_x, &new_origin_y);
|
||||
|
||||
*x += new_origin_x - old_origin_x;
|
||||
*y += new_origin_y - old_origin_y;
|
||||
*x += old_origin_x - new_origin_x;
|
||||
*y += old_origin_y - new_origin_y;
|
||||
}
|
||||
|
||||
static GdkEvent *
|
||||
|
Loading…
Reference in New Issue
Block a user