]> Pileus Git - ~andy/gtk/commitdiff
Don't use GtkSocket internals in gail
authorMatthias Clasen <mclasen@redhat.com>
Sat, 18 Dec 2010 22:35:06 +0000 (17:35 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 18 Dec 2010 22:39:42 +0000 (17:39 -0500)
modules/other/gail/gail.c

index 07a619d2ce28e9fb3931067b85e0e5136219cc1e..7094d9fe317fdaa20964c809f1ad413a1a5710e0 100644 (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.