[gtk+] Don't use GtkSocket internals in gail



commit 5863382e114e0851ea6ebc77bbbfd5c7236f6b5e
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Dec 18 17:35:06 2010 -0500

    Don't use GtkSocket internals in gail

 modules/other/gail/gail.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/other/gail/gail.c b/modules/other/gail/gail.c
index 07a619d..7094d9f 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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]