[gtk+] Fix includes in gtkassistant.c



commit 13d717e2cec948626dde933d1fa420e1e84be0dd
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Feb 17 12:35:07 2011 -0500

    Fix includes in gtkassistant.c
    
    Also fix a bad case in gtk_assistant_accessible_get_n_children.

 gtk/gtkassistant.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c
index bb32add..17ecf46 100644
--- a/gtk/gtkassistant.c
+++ b/gtk/gtkassistant.c
@@ -62,7 +62,7 @@
 
 #include "gtkassistant.h"
 
-#include "gtkaccessible.h"
+#include "gtkaccessibleprivate.h"
 #include "gtkbutton.h"
 #include "gtkhbox.h"
 #include "gtkhbbox.h"
@@ -2511,7 +2511,7 @@ gtk_assistant_accessible_get_n_children (AtkObject *accessible)
   if (widget == NULL)
     return 0;
 
-  return g_list_length (GTK_ASSISTANT (accessible)->priv->pages) + 1;
+  return g_list_length (GTK_ASSISTANT (widget)->priv->pages) + 1;
 }
 
 static AtkObject *



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