diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2019-08-16 17:43:47 +0200 |
---|---|---|
committer | Alberto Fanjul <albertofanjul@gmail.com> | 2019-08-20 18:58:15 +0000 |
commit | 2b84518c84eb9db88ef990ac0b4c33b05f9c373e (patch) | |
tree | f45f34d17061b59cfedc8f8aa8fb8561d3a0e2c8 /gladeui/glade-editor-property.c | |
parent | 80283c9851789f421f9d0403b07c514980c25561 (diff) | |
download | glade-2b84518c84eb9db88ef990ac0b4c33b05f9c373e.tar.gz |
gladeui: Use G_DECLARE_INTERFACE for GladeEditable
Diffstat (limited to 'gladeui/glade-editor-property.c')
-rw-r--r-- | gladeui/glade-editor-property.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gladeui/glade-editor-property.c b/gladeui/glade-editor-property.c index 4a15fb76..657beff0 100644 --- a/gladeui/glade-editor-property.c +++ b/gladeui/glade-editor-property.c @@ -111,9 +111,9 @@ struct _GladeEditorPropertyPrivate guint disable_check : 1; /* Whether to explicitly disable the optional check button */ }; -static void glade_editor_property_editable_init (GladeEditableIface *iface); +static void glade_editor_property_editable_init (GladeEditableInterface *iface); -static GladeEditableIface *parent_editable_iface; +static GladeEditableInterface *parent_editable_iface; G_DEFINE_TYPE_WITH_CODE (GladeEditorProperty, glade_editor_property, GTK_TYPE_BOX, G_ADD_PRIVATE (GladeEditorProperty) @@ -122,7 +122,7 @@ G_DEFINE_TYPE_WITH_CODE (GladeEditorProperty, glade_editor_property, GTK_TYPE_BO /******************************************************************************* - * GladeEditableIface * + * GladeEditableInterface * *******************************************************************************/ static void glade_editor_property_editable_load (GladeEditable *editable, @@ -140,7 +140,7 @@ glade_editor_property_set_show_name (GladeEditable *editable, gboolean show_name } static void -glade_editor_property_editable_init (GladeEditableIface *iface) +glade_editor_property_editable_init (GladeEditableInterface *iface) { parent_editable_iface = g_type_default_interface_peek (GLADE_TYPE_EDITABLE); |