Commit a272e833 authored by Tim Janik's avatar Tim Janik Committed by Tim Janik

protect idle handle with gdk threads macro.

Tue Nov 13 19:51:43 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkwindow.c (handle_accels_changed): protect idle handle
        with gdk threads macro.
parent d07573c0
Tue Nov 13 19:51:43 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwindow.c (handle_accels_changed): protect idle handle
with gdk threads macro.
Mon Nov 12 23:08:37 2001 Tim Janik <timj@gtk.org>
* gtk/maketypes.awk: fix type utils generation on unix.
......
Tue Nov 13 19:51:43 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwindow.c (handle_accels_changed): protect idle handle
with gdk threads macro.
Mon Nov 12 23:08:37 2001 Tim Janik <timj@gtk.org>
* gtk/maketypes.awk: fix type utils generation on unix.
......
Tue Nov 13 19:51:43 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwindow.c (handle_accels_changed): protect idle handle
with gdk threads macro.
Mon Nov 12 23:08:37 2001 Tim Janik <timj@gtk.org>
* gtk/maketypes.awk: fix type utils generation on unix.
......
Tue Nov 13 19:51:43 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwindow.c (handle_accels_changed): protect idle handle
with gdk threads macro.
Mon Nov 12 23:08:37 2001 Tim Janik <timj@gtk.org>
* gtk/maketypes.awk: fix type utils generation on unix.
......
Tue Nov 13 19:51:43 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwindow.c (handle_accels_changed): protect idle handle
with gdk threads macro.
Mon Nov 12 23:08:37 2001 Tim Janik <timj@gtk.org>
* gtk/maketypes.awk: fix type utils generation on unix.
......
Tue Nov 13 19:51:43 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwindow.c (handle_accels_changed): protect idle handle
with gdk threads macro.
Mon Nov 12 23:08:37 2001 Tim Janik <timj@gtk.org>
* gtk/maketypes.awk: fix type utils generation on unix.
......
Tue Nov 13 19:51:43 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwindow.c (handle_accels_changed): protect idle handle
with gdk threads macro.
Mon Nov 12 23:08:37 2001 Tim Janik <timj@gtk.org>
* gtk/maketypes.awk: fix type utils generation on unix.
......
......@@ -1015,7 +1015,10 @@ gtk_window_set_policy (GtkWindow *window,
static gboolean
handle_accels_changed (gpointer data)
{
GtkWindow *window = GTK_WINDOW (data);
GtkWindow *window;
GDK_THREADS_ENTER ();
window = GTK_WINDOW (data);
if (window->accels_changed_handler)
{
......@@ -1024,7 +1027,8 @@ handle_accels_changed (gpointer data)
}
g_signal_emit (window, window_signals[ACCELS_CHANGED], 0);
GDK_THREADS_LEAVE ();
return FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment