forked from AuroraMiddleware/gtk
Fix includes in gtkassistant.c
Also fix a bad case in gtk_assistant_accessible_get_n_children.
This commit is contained in:
parent
7bddfb5790
commit
13d717e2ce
@ -62,7 +62,7 @@
|
|||||||
|
|
||||||
#include "gtkassistant.h"
|
#include "gtkassistant.h"
|
||||||
|
|
||||||
#include "gtkaccessible.h"
|
#include "gtkaccessibleprivate.h"
|
||||||
#include "gtkbutton.h"
|
#include "gtkbutton.h"
|
||||||
#include "gtkhbox.h"
|
#include "gtkhbox.h"
|
||||||
#include "gtkhbbox.h"
|
#include "gtkhbbox.h"
|
||||||
@ -2511,7 +2511,7 @@ gtk_assistant_accessible_get_n_children (AtkObject *accessible)
|
|||||||
if (widget == NULL)
|
if (widget == NULL)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
return g_list_length (GTK_ASSISTANT (accessible)->priv->pages) + 1;
|
return g_list_length (GTK_ASSISTANT (widget)->priv->pages) + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static AtkObject *
|
static AtkObject *
|
||||||
|
Loading…
Reference in New Issue
Block a user