summaryrefslogtreecommitdiff
path: root/mail/thunderbird/files/patch-gfx_src_gtk_gtk2drawing.c
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2007-10-31 04:33:21 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2007-10-31 04:33:21 +0000
commitd2da93c9f08dd5421d0d74cc90ffdcbe50381e02 (patch)
tree5a0ce595d817c08421aea5651e698b73db5fb6db /mail/thunderbird/files/patch-gfx_src_gtk_gtk2drawing.c
parent- Fix build/install when WRKDIRPREFIX is set (diff)
Fix the crash with GTK+ 2.12.x, depend on what theme user is using. Bump the
PORTREVISION. Reported by: several in freebsd-gnome@ Tested by: kan Obtained from: https://bugzilla.mozilla.org/show_bug.cgi?id=389801 Approved by: portmgr (marcus)
Diffstat (limited to 'mail/thunderbird/files/patch-gfx_src_gtk_gtk2drawing.c')
-rw-r--r--mail/thunderbird/files/patch-gfx_src_gtk_gtk2drawing.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/thunderbird/files/patch-gfx_src_gtk_gtk2drawing.c b/mail/thunderbird/files/patch-gfx_src_gtk_gtk2drawing.c
new file mode 100644
index 000000000000..8af8a079e896
--- /dev/null
+++ b/mail/thunderbird/files/patch-gfx_src_gtk_gtk2drawing.c
@@ -0,0 +1,13 @@
+--- gfx/src/gtk/gtk2drawing.c.fixgtk212 2005-09-13 05:30:53.000000000 +0200
++++ gfx/src/gtk/gtk2drawing.c 2007-09-06 09:42:34.000000000 +0200
+@@ -551,8 +551,8 @@ moz_gtk_option_menu_get_metrics(gboolean
+ else
+ *indicator_spacing = default_indicator_spacing;
+
+- g_free(tmp_indicator_size);
+- g_free(tmp_indicator_spacing);
++ gtk_requisition_free(tmp_indicator_size);
++ gtk_border_free(tmp_indicator_spacing);
+
+ return MOZ_GTK_SUCCESS;
+ }