summaryrefslogtreecommitdiff
path: root/gtk/gtkspinbutton.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-09-11 04:12:42 +0200
committerJavier Jardón <jjardon@gnome.org>2010-09-17 19:57:09 +0200
commitefbf04236e04c3c9e5ce7466738d6c33e552eb0f (patch)
tree1863c917354b926f9c63ba44178a28dd6db86fa6 /gtk/gtkspinbutton.c
parent6e9349d858412dcb12bff17be4b85c6365e81ff0 (diff)
downloadgtk+-efbf04236e04c3c9e5ce7466738d6c33e552eb0f.tar.gz
Change GtkEditable typedef from GtkEditableClass to GtkEditabeInterface
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=323904
Diffstat (limited to 'gtk/gtkspinbutton.c')
-rw-r--r--gtk/gtkspinbutton.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index 4576435eac..bf51597b86 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -97,7 +97,7 @@ enum
LAST_SIGNAL
};
-static void gtk_spin_button_editable_init (GtkEditableClass *iface);
+static void gtk_spin_button_editable_init (GtkEditableInterface *iface);
static void gtk_spin_button_finalize (GObject *object);
static void gtk_spin_button_destroy (GtkObject *object);
static void gtk_spin_button_set_property (GObject *object,
@@ -405,7 +405,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
}
static void
-gtk_spin_button_editable_init (GtkEditableClass *iface)
+gtk_spin_button_editable_init (GtkEditableInterface *iface)
{
iface->insert_text = gtk_spin_button_insert_text;
}
@@ -1523,7 +1523,10 @@ gtk_spin_button_insert_text (GtkEditable *editable,
GtkEntry *entry = GTK_ENTRY (editable);
GtkSpinButton *spin = GTK_SPIN_BUTTON (editable);
GtkSpinButtonPrivate *priv = spin->priv;
- GtkEditableClass *parent_editable_iface = g_type_interface_peek (gtk_spin_button_parent_class, GTK_TYPE_EDITABLE);
+ GtkEditableInterface *parent_editable_iface;
+
+ parent_editable_iface = g_type_interface_peek (gtk_spin_button_parent_class,
+ GTK_TYPE_EDITABLE);
if (priv->numeric)
{