Fix the build

svn path=/branches/gtk-2-10/; revision=17445
This commit is contained in:
Matthias Clasen
2007-03-09 22:17:58 +00:00
parent c450c2e8b1
commit 2a1c14354d
2 changed files with 12 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
2007-03-09 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkasync.c: Fix the build
2007-03-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesystemwin32.c (get_icon_path): Remove

View File

@@ -115,12 +115,16 @@ struct _SetInputFocusState
static gboolean
callback_idle (gpointer data)
{
SendEventState *state = (SendEventState *)data;
state->callback (state->window, !state->have_error, state->data);
SendEventState *state;
GDK_THREADS_ENTER ();
state = (SendEventState *)data;
state->callback (state->window, !state->have_error, state->data);
g_free (state);
GDK_THREADS_LEAVE ();
return FALSE;
}
@@ -159,7 +163,7 @@ send_event_handler (Display *dpy,
}
if (state->callback)
gdk_threads_add_idle (callback_idle, state);
g_idle_add (callback_idle, state);
DeqAsyncHandler(state->dpy, &state->async);