summaryrefslogtreecommitdiff
path: root/gtk/gtkspinbutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkspinbutton.h')
-rw-r--r--gtk/gtkspinbutton.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkspinbutton.h b/gtk/gtkspinbutton.h
index 7ce9965077..4abadc86a1 100644
--- a/gtk/gtkspinbutton.h
+++ b/gtk/gtkspinbutton.h
@@ -33,7 +33,7 @@
#error "Only <gtk/gtk.h> can be included directly."
#endif
-#include <gtk/gtkentry.h>
+#include <gtk/gtkwidget.h>
G_BEGIN_DECLS
@@ -108,7 +108,7 @@ typedef struct _GtkSpinButtonClass GtkSpinButtonClass;
*/
struct _GtkSpinButton
{
- GtkEntry entry;
+ GtkWidget parent_instance;
/*< private >*/
GtkSpinButtonPrivate *priv;
@@ -116,7 +116,7 @@ struct _GtkSpinButton
struct _GtkSpinButtonClass
{
- GtkEntryClass parent_class;
+ GtkWidgetClass parent_class;
gint (*input) (GtkSpinButton *spin_button,
gdouble *new_value);