Don't use GtkSocket internals in gail

This commit is contained in:
Matthias Clasen 2010-12-18 17:35:06 -05:00
parent eb11430228
commit 5863382e11

View File

@ -308,7 +308,7 @@ gail_focus_watcher (GSignalInvocationHint *ihint,
* plug will report a focus notification.
*/
if (GTK_IS_SOCKET (widget) &&
GTK_SOCKET (widget)->plug_widget == NULL)
gtk_socket_get_plug_window (GTK_SOCKET (widget)) != NULL)
return TRUE;
/*
* The widget may not yet be visible on the screen so we wait until it is.