summaryrefslogtreecommitdiff
path: root/graphics/gimp/files/patch-ab
diff options
context:
space:
mode:
authorEric L. Hernes <erich@FreeBSD.org>1996-11-19 03:36:29 +0000
committerEric L. Hernes <erich@FreeBSD.org>1996-11-19 03:36:29 +0000
commite50f501574133253390670983463f565a642b8c6 (patch)
treef386cff692046063f94be075406536c4c5b76beb /graphics/gimp/files/patch-ab
parentunzip and lha should be BUILD_DEPENDS not FETCH_DEPENDS. (Note that (diff)
new port for the gimp developer's release
Notes
Notes: svn path=/head/; revision=4583
Diffstat (limited to 'graphics/gimp/files/patch-ab')
-rw-r--r--graphics/gimp/files/patch-ab49
1 files changed, 49 insertions, 0 deletions
diff --git a/graphics/gimp/files/patch-ab b/graphics/gimp/files/patch-ab
new file mode 100644
index 000000000000..ac5e5976e46c
--- /dev/null
+++ b/graphics/gimp/files/patch-ab
@@ -0,0 +1,49 @@
+--- app/fileops.c~ Mon Nov 18 09:57:19 1996
++++ app/fileops.c Mon Nov 18 09:58:01 1996
+@@ -289,7 +289,7 @@
+ gtk_file_selection_set_ok_callback (filesel, file_open_ok_callback, open_options);
+ gtk_file_selection_set_cancel_callback (filesel, file_cancel_callback, open_options);
+
+- if (gdisp && gdisp->gimage->has_filename)
++ if (gdisp && gdisp->gimage && gdisp->gimage->has_filename)
+ gtk_file_selection_set_filename (filesel, gimage_filename (gdisp->gimage));
+
+ gtk_widget_show (filesel);
+@@ -297,7 +297,7 @@
+
+ if (! GTK_WIDGET_VISIBLE (filesel))
+ {
+- if (gdisp && gdisp->gimage->has_filename)
++ if (gdisp && gdisp->gimage && gdisp->gimage->has_filename)
+ gtk_file_selection_set_filename (filesel, gimage_filename (gdisp->gimage));
+ gtk_widget_show (filesel);
+ }
+@@ -353,7 +353,7 @@
+ gtk_file_selection_set_ok_callback (filesel, file_save_ok_callback, save_options);
+ gtk_file_selection_set_cancel_callback (filesel, file_cancel_callback, save_options);
+
+- if (gdisplay && gdisplay->gimage->has_filename)
++ if (gdisplay && gdisplay->gimage && gdisplay->gimage->has_filename)
+ gtk_file_selection_set_filename (filesel, gimage_filename (gdisplay->gimage));
+
+ gtk_widget_show (filesel);
+@@ -363,7 +363,7 @@
+
+ if (! GTK_WIDGET_VISIBLE (filesel))
+ {
+- if (gdisplay && gdisplay->gimage->has_filename)
++ if (gdisplay && gdisplay->gimage && gdisplay->gimage->has_filename)
+ gtk_file_selection_set_filename (filesel, gimage_filename (gdisplay->gimage));
+
+ gtk_widget_show (filesel);
+--- app/progress.c~ Mon Nov 18 11:03:58 1996
++++ app/progress.c Mon Nov 18 11:04:07 1996
+@@ -57,7 +57,7 @@
+ progress->callback_data = callback_data;
+ progress->pixmap = NULL;
+
+- progress->shell = gtk_window_new (title, GTK_WINDOW_TOPLEVEL);
++ progress->shell = gtk_window_new (title, GTK_WINDOW_DIALOG);
+ gtk_widget_set_uposition (progress->shell, progress_x, progress_y);
+ main_vbox = gtk_vbox_new (FALSE, 5);
+ gtk_container_add (progress->shell, main_vbox);