mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
eea4bff25b
- Fix build with gcc 2.95. It was the good old "declare variables at the beginning of a {} block"-story again. *sigh*
23 lines
725 B
C
23 lines
725 B
C
--- 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) ;
|
|
}
|