diff options
author | Simon Barner <barner@FreeBSD.org> | 2005-09-05 11:07:21 +0000 |
---|---|---|
committer | Simon Barner <barner@FreeBSD.org> | 2005-09-05 11:07:21 +0000 |
commit | eea4bff25b1074c6aa883bfba30e3fdd74063999 (patch) | |
tree | 41331d9a2a74797bb0f098974e81f01bc2b42848 /editors/mlview/files/patch-src_mlview-source-view.c | |
parent | - Fix MASTER_SITES to make if fetchable again (diff) |
- Change ${ECHO_CMD} to @${ECHO_CMD}
- Fix build with gcc 2.95. It was the good old "declare variables at the
beginning of a {} block"-story again. *sigh*
Notes
Notes:
svn path=/head/; revision=141976
Diffstat (limited to 'editors/mlview/files/patch-src_mlview-source-view.c')
-rw-r--r-- | editors/mlview/files/patch-src_mlview-source-view.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/editors/mlview/files/patch-src_mlview-source-view.c b/editors/mlview/files/patch-src_mlview-source-view.c new file mode 100644 index 000000000000..82cc65126a01 --- /dev/null +++ b/editors/mlview/files/patch-src_mlview-source-view.c @@ -0,0 +1,23 @@ +--- src/mlview-source-view.c.orig Mon Sep 5 12:24:55 2005 ++++ src/mlview-source-view.c Mon Sep 5 12:25:47 2005 +@@ -1321,15 +1321,17 @@ + (GInstanceInitFunc) + mlview_source_view_init + } ; +- type = g_type_register_static +- (MLVIEW_TYPE_VIEW_ADAPTER, +- "MlViewSourceView", &type_info, 0); + + static const GInterfaceInfo iview_info = { + (GInterfaceInitFunc) mlview_source_view_iview_init, + NULL, + NULL + } ; ++ ++ type = g_type_register_static ++ (MLVIEW_TYPE_VIEW_ADAPTER, ++ "MlViewSourceView", &type_info, 0); ++ + g_type_add_interface_static (type, MLVIEW_TYPE_IVIEW, + &iview_info) ; + } |