[gtk+] container: use priv in last commit



commit 9074f74c6f826de3f265d6b08e4a564fbf0aaf68
Author: Stefan Kost <ensonic users sf net>
Date:   Wed Sep 1 17:31:44 2010 +0300

    container: use priv in last commit
    
    container->focus_child to container->priv->focus_child

 gtk/gtkcontainer.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index 839ae43..66b8c37 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -1078,10 +1078,10 @@ gtk_container_destroy (GtkObject *object)
   if (GTK_CONTAINER_RESIZE_PENDING (container))
     _gtk_container_dequeue_resize_handler (container);
 
-  if (container->focus_child)
+  if (priv->focus_child)
     {
-      g_object_unref (container->focus_child);
-      container->focus_child = NULL;
+      g_object_unref (priv->focus_child);
+      priv->focus_child = NULL;
     }
 
   /* do this before walking child widgets, to avoid



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