Commit 7439e03f authored by Matthias Clasen's avatar Matthias Clasen

Fixups to GtkStack

The GtkStack and GtkStackSwitcher code did not really
follow GTK+ conventions for includes. Fix that, and also
fix up a case of gpointer vs gpointer* confusion
in gtkstack.c.
parent 53156617
......@@ -22,7 +22,7 @@
#ifndef __GTK_STACK_H__
#define __GTK_STACK_H__
#include <gtk/gtk.h>
#include <gtk/gtkcontainer.h>
G_BEGIN_DECLS
......
......@@ -19,6 +19,9 @@
#include "config.h"
#include "gtkstackswitcher.h"
#include "gtkradiobutton.h"
#include "gtklabel.h"
#include "gtkorientable.h"
#include "gtkprivate.h"
#include "gtkintl.h"
......@@ -140,7 +143,7 @@ rebuild_child (GtkWidget *self,
}
static void
update_needs_attention (GtkWidget *widget, GtkWidget *button, gpointer *data)
update_needs_attention (GtkWidget *widget, GtkWidget *button, gpointer data)
{
GtkContainer *container;
gboolean needs_attention;
......
......@@ -20,7 +20,8 @@
#ifndef __GTK_STACK_SWITCHER_H__
#define __GTK_STACK_SWITCHER_H__
#include "gtkstack.h"
#include <gtk/gtkbox.h>
#include <gtk/gtkstack.h>
G_BEGIN_DECLS
......
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