Commit 13d717e2 authored by Matthias Clasen's avatar Matthias Clasen

Fix includes in gtkassistant.c

Also fix a bad case in gtk_assistant_accessible_get_n_children.
parent 7bddfb57
......@@ -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 *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment