Dash:
[t2-trunk.git] / package / editors / mlview / hotfix-gcc41.patch
blobea468484bd1143c0c2239f8135c4c339a4132f30
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../mlview/gcc41.patch
5 # Copyright (C) 2006 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 diff -Nur mlview-0.9.0-orig/src/mlview-editor.cc mlview-0.9.0/src/mlview-editor.cc
18 --- mlview-0.9.0-orig/src/mlview-editor.cc 2005-08-07 07:42:28.000000000 +0000
19 +++ mlview-0.9.0/src/mlview-editor.cc 2006-04-05 18:42:26.742256000 +0000
20 @@ -157,7 +157,7 @@
21 contextual_menu (NULL)
24 - static void EditorPriv::schemas_window_destroy_cb
25 + static void schemas_window_destroy_cb
26 (GtkWidget *a_widget, struct DocumentWindowData *a_win) ;
28 static void validation_window_destroy_cb
29 diff -Nur mlview-0.9.0-orig/src/mlview-plugin.h mlview-0.9.0/src/mlview-plugin.h
30 --- mlview-0.9.0-orig/src/mlview-plugin.h 2005-08-07 07:47:54.000000000 +0000
31 +++ mlview-0.9.0/src/mlview-plugin.h 2006-04-05 18:41:46.339731000 +0000
32 @@ -46,12 +46,12 @@
34 //forbid assignation/copy
35 Plugin& operator= (Plugin const&) ;
36 - Plugin::Plugin (Plugin const&) ;
37 + Plugin (Plugin const&) ;
39 public:
40 Plugin (const PluginDescriptor &a_descr) ;
42 - Plugin::Plugin (const UString &a_url) ;
43 + Plugin (const UString &a_url) ;
45 virtual ~Plugin () ;
47 diff -Nur mlview-0.9.0-orig/src/mlview-source-view.h mlview-0.9.0/src/mlview-source-view.h
48 --- mlview-0.9.0-orig/src/mlview-source-view.h 2005-08-07 07:42:28.000000000 +0000
49 +++ mlview-0.9.0/src/mlview-source-view.h 2006-04-05 18:37:22.583247250 +0000
50 @@ -53,7 +53,7 @@
52 enum MlViewStatus set_default_options () ;
54 - MlViewXMLDocument* SourceView::get_document () ;
55 + MlViewXMLDocument* get_document () ;
57 GtkUIManager * get_ui_manager () ;
59 diff -Nur mlview-0.9.0-orig/src/mlview-tree-view.h mlview-0.9.0/src/mlview-tree-view.h
60 --- mlview-0.9.0-orig/src/mlview-tree-view.h 2005-07-22 19:14:28.000000000 +0000
61 +++ mlview-0.9.0/src/mlview-tree-view.h 2006-04-05 18:37:03.422049750 +0000
62 @@ -178,7 +178,7 @@
64 enum MlViewStatus build_app_edit_menu () ;
66 - GtkDialog * TreeView::get_expand_tree_dialog () ;
67 + GtkDialog * get_expand_tree_dialog () ;
69 void clear_completion_popup_submenus () ;