diff options
Diffstat (limited to 'src/stylesheet_editor.c')
-rw-r--r-- | src/stylesheet_editor.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/stylesheet_editor.c b/src/stylesheet_editor.c index b08a9c2..fd78198 100644 --- a/src/stylesheet_editor.c +++ b/src/stylesheet_editor.c @@ -35,11 +35,6 @@ #include "stylesheet_editor.h" - -G_DEFINE_TYPE_WITH_CODE(StylesheetEditor, stylesheet_editor, - GTK_TYPE_DIALOG, NULL) - - struct _sspriv { Stylesheet *stylesheet; @@ -47,6 +42,10 @@ struct _sspriv }; +G_DEFINE_TYPE_WITH_CODE(StylesheetEditor, stylesheet_editor, + GTK_TYPE_DIALOG, G_ADD_PRIVATE(StylesheetEditor)) + + enum selector_column { SEL_COL_FRIENDLY_NAME, @@ -486,7 +485,6 @@ void stylesheet_editor_class_init(StylesheetEditorClass *klass) gtk_widget_class_set_template_from_resource(widget_class, "/uk/me/bitwiz/Colloquium/stylesheeteditor.ui"); - g_type_class_add_private(gobject_class, sizeof(StylesheetEditorPrivate)); gobject_class->finalize = stylesheet_editor_finalize; /* Furniture */ |