aboutsummaryrefslogtreecommitdiff
path: root/editors/mlview
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2005-01-11 14:44:37 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2005-01-11 14:44:37 +0000
commitb1ebc3ea7b7d4128cd33e9c0e61c888115b6964c (patch)
tree7372f2362f75d4c03816b24e2f3e1fb9287a4ba4 /editors/mlview
parenteca5c7196724dd4fdf1cd9214ea3c0fe0429d31c (diff)
downloadports-b1ebc3ea7b7d4128cd33e9c0e61c888115b6964c.tar.gz
ports-b1ebc3ea7b7d4128cd33e9c0e61c888115b6964c.zip
Fix build on 4.X.
Notes
Notes: svn path=/head/; revision=126138
Diffstat (limited to 'editors/mlview')
-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 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") ;