summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2005-01-11 14:44:37 +0000
committeradamw <adamw@FreeBSD.org>2005-01-11 14:44:37 +0000
commit5e3de3a1b633b45b14ebed48071b0859c2360ac8 (patch)
treef5db1a8d450ae0c9b1121b9740d5db1c39c94c35 /editors
parent61d044dbc2fad2908e49ffc76ad53204732469ae (diff)
downloadFreeBSD-ports-5e3de3a1b633b45b14ebed48071b0859c2360ac8.zip
FreeBSD-ports-5e3de3a1b633b45b14ebed48071b0859c2360ac8.tar.gz
Fix build on 4.X.
Diffstat (limited to 'editors')
-rw-r--r--editors/mlview/files/patch-src_mlview-app-context.c18
1 files changed, 18 insertions, 0 deletions
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 0000000..3265da1
--- /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") ;
OpenPOWER on IntegriCloud