From: Matthias Clasen Date: Sat, 18 Dec 2010 22:35:06 +0000 (-0500) Subject: Don't use GtkSocket internals in gail X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=5863382e114e0851ea6ebc77bbbfd5c7236f6b5e;p=~andy%2Fgtk Don't use GtkSocket internals in gail --- diff --git a/modules/other/gail/gail.c b/modules/other/gail/gail.c index 07a619d2c..7094d9fe3 100644 --- a/modules/other/gail/gail.c +++ b/modules/other/gail/gail.c @@ -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.