From b1ebc3ea7b7d4128cd33e9c0e61c888115b6964c Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Tue, 11 Jan 2005 14:44:37 +0000 Subject: Fix build on 4.X. --- editors/mlview/files/patch-src_mlview-app-context.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 editors/mlview/files/patch-src_mlview-app-context.c diff --git a/editors/mlview/files/patch-src_mlview-app-context.c b/editors/mlview/files/patch-src_mlview-app-context.c new file mode 100644 index 000000000000..3265da17e1e7 --- /dev/null +++ b/editors/mlview/files/patch-src_mlview-app-context.c @@ -0,0 +1,18 @@ +--- src/mlview-app-context.c.orig Tue Jan 11 09:37:44 2005 ++++ src/mlview-app-context.c Tue Jan 11 09:38:02 2005 +@@ -1348,13 +1348,14 @@ + mlview_app_context_get_file_chooser (MlViewAppContext *a_this, + const gchar *a_title, MlViewFileChooserMode a_mode) + { ++ GtkWidget * parent_window = NULL ; ++ + g_return_val_if_fail (a_this + && MLVIEW_IS_APP_CONTEXT (a_this) + && PRIVATE (a_this), + NULL) ; + + /*if (!PRIVATE (a_this)->file_chooser) {*/ +- GtkWidget * parent_window = NULL ; + + parent_window = mlview_app_context_get_element (a_this, + "MlViewMainWindow") ; -- cgit v1.2.3