summaryrefslogtreecommitdiff
path: root/gtk/gtkspinner.h
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2010-09-15 16:52:29 +0900
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-09-15 16:52:29 +0900
commit1110375f24a3ba92acbce1f8ac2840c9642aceb6 (patch)
treecd4c9c29632e2934328c2627e747982044176c5a /gtk/gtkspinner.h
parentf5a06df3dc0b21cd98afcec47bce085df6d7c4a3 (diff)
downloadgtk+-1110375f24a3ba92acbce1f8ac2840c9642aceb6.tar.gz
spinner: Dont inherit from GtkDrawingArea part 2.
Seems commit 7b42d4feda5448cf4f929aeb79f56ba9e524ac39 makes GtkSpinner a direct subclass of GtkWidget but forgets to update the header file to include gtkwidget.h instead and declare the instance and class structures properly (assuming this was just a missed file in the commit).
Diffstat (limited to 'gtk/gtkspinner.h')
-rw-r--r--gtk/gtkspinner.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkspinner.h b/gtk/gtkspinner.h
index 5e8fb37482..0d9625cb2a 100644
--- a/gtk/gtkspinner.h
+++ b/gtk/gtkspinner.h
@@ -29,7 +29,7 @@
#ifndef __GTK_SPINNER_H__
#define __GTK_SPINNER_H__
-#include <gtk/gtkdrawingarea.h>
+#include <gtk/gtkwidget.h>
G_BEGIN_DECLS
@@ -46,7 +46,7 @@ typedef struct _GtkSpinnerPrivate GtkSpinnerPrivate;
struct _GtkSpinner
{
- GtkDrawingArea parent;
+ GtkWidget parent;
/* <private> */
GtkSpinnerPrivate *priv;
@@ -54,7 +54,7 @@ struct _GtkSpinner
struct _GtkSpinnerClass
{
- GtkDrawingAreaClass parent_class;
+ GtkWidgetClass parent_class;
};
GType gtk_spinner_get_type (void) G_GNUC_CONST;