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)
This commit is contained in:
Jeremy Messenger 2007-10-31 04:33:21 +00:00
parent 1b4d49bf46
commit d2da93c9f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202449
6 changed files with 42 additions and 0 deletions

View file

@ -8,6 +8,7 @@
PORTNAME= thunderbird
DISTVERSION= 2.0.0.6
PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
MASTER_SITE_SUBDIR= thunderbird/releases/${DISTVERSION}/source

View file

@ -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;
}

View file

@ -8,6 +8,7 @@
PORTNAME= thunderbird
DISTVERSION= 2.0.0.6
PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
MASTER_SITE_SUBDIR= thunderbird/releases/${DISTVERSION}/source

View file

@ -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;
}

View file

@ -8,6 +8,7 @@
PORTNAME= thunderbird
DISTVERSION= 2.0.0.6
PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
MASTER_SITE_SUBDIR= thunderbird/releases/${DISTVERSION}/source

View file

@ -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;
}