summaryrefslogtreecommitdiff
path: root/graphics/gimp/files/patch-plug-ins.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-10-22 17:36:11 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-10-22 17:36:11 +0000
commite50bf70b85fbd6d86875f61cca7f9743c20f2d4c (patch)
tree76382dc054eb86eb1c67f82bbfb6b1b1e54617ec /graphics/gimp/files/patch-plug-ins.c
parent- Update to rc2006-10-19 (RC3) (diff)
- Fix a startup crash for anyone running non-latin-1 locale
Approved by: portmgr (marcus) Obtained from: GIMP authors
Notes
Notes: svn path=/head/; revision=175486
Diffstat (limited to 'graphics/gimp/files/patch-plug-ins.c')
-rw-r--r--graphics/gimp/files/patch-plug-ins.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/gimp/files/patch-plug-ins.c b/graphics/gimp/files/patch-plug-ins.c
new file mode 100644
index 000000000000..f7650f0e0529
--- /dev/null
+++ b/graphics/gimp/files/patch-plug-ins.c
@@ -0,0 +1,19 @@
+--- app/plug-in/plug-ins.c.orig Wed Nov 17 15:51:50 2004
++++ app/plug-in/plug-ins.c Sun Oct 22 18:58:36 2006
+@@ -317,6 +317,8 @@
+
+ if (! gimp->no_interface)
+ {
++ gimp_menus_init (gimp, gimp->plug_in_defs, STD_PLUGINS_DOMAIN);
++
+ gimp->load_procs = g_slist_sort_with_data (gimp->load_procs,
+ plug_ins_file_proc_compare,
+ gimp);
+@@ -324,7 +326,6 @@
+ plug_ins_file_proc_compare,
+ gimp);
+
+- gimp_menus_init (gimp, gimp->plug_in_defs, STD_PLUGINS_DOMAIN);
+ }
+
+ /* build list of automatically started extensions */