summaryrefslogtreecommitdiffstats
path: root/editors/mlview/files/patch-src_mlview-editor-dbc.c
blob: c95ef68172622bed1038c15c4b2dea8fd359d789 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- src/mlview-editor-dbc.c.orig    Mon Sep  5 12:55:40 2005
+++ src/mlview-editor-dbc.c Mon Sep  5 12:56:44 2005
@@ -168,13 +168,16 @@
            0,
            (GInstanceInitFunc)mlview_editor_dbc_init
        } ;
-       type = g_type_register_static (G_TYPE_OBJECT,
-                              "MlViewEditorDBC",
-                          &type_info, 0) ;
+
        static const GInterfaceInfo idbc_info = {
            (GInterfaceInitFunc) mlview_editor_dbc_idbc_init,
            NULL, NULL
        } ;
+
+                type = g_type_register_static (G_TYPE_OBJECT,
+                                               "MlViewEditorDBC",
+                                               &type_info, 0) ;
+
        g_type_add_interface_static (type, MLVIEW_TYPE_IDBC,
                             &idbc_info) ;
    }