- Fix crashes when using GTK+ themes containing a gtkrc which specify
GtkOptionMenu::indicator_size and GtkOptionMenu::indicator_spacing
This commit is contained in:
parent
14be158bd4
commit
2cab984edd
15
firefox-2.0-indicator-crash.patch
Normal file
15
firefox-2.0-indicator-crash.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
https://bugzilla.mozilla.org/show_bug.cgi?id=389801
|
||||||
|
|
||||||
|
--- mozilla/gfx/src/gtk/gtk2drawing.c.fixgtk212 2005-09-13 05:30:53.000000000 +0200
|
||||||
|
+++ mozilla/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;
|
||||||
|
}
|
@ -8,7 +8,7 @@
|
|||||||
Summary: Mozilla Thunderbird mail/newsgroup client
|
Summary: Mozilla Thunderbird mail/newsgroup client
|
||||||
Name: thunderbird
|
Name: thunderbird
|
||||||
Version: 2.0.0.6
|
Version: 2.0.0.6
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
URL: http://www.mozilla.org/projects/thunderbird/
|
URL: http://www.mozilla.org/projects/thunderbird/
|
||||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
@ -62,6 +62,7 @@ Patch89: firefox-2.0-pango-ligatures.patch
|
|||||||
Patch102: firefox-1.5-theme-change.patch
|
Patch102: firefox-1.5-theme-change.patch
|
||||||
Patch103: thunderbird-1.5-profile-migrator.patch
|
Patch103: thunderbird-1.5-profile-migrator.patch
|
||||||
Patch104: firefox-1.5-dnd-nograb.patch
|
Patch104: firefox-1.5-dnd-nograb.patch
|
||||||
|
Patch106: firefox-2.0-indicator-crash.patch
|
||||||
|
|
||||||
%if %{official_branding}
|
%if %{official_branding}
|
||||||
# Required by Mozilla Corporation
|
# Required by Mozilla Corporation
|
||||||
@ -143,6 +144,7 @@ popd
|
|||||||
%patch102 -p0 -b .theme-change
|
%patch102 -p0 -b .theme-change
|
||||||
%patch103 -p1 -b .profile-migrator
|
%patch103 -p1 -b .profile-migrator
|
||||||
#%patch104 -p1 -b .dnd-nograb
|
#%patch104 -p1 -b .dnd-nograb
|
||||||
|
%patch106 -p1 -b .indicator-crash
|
||||||
|
|
||||||
%if %{official_branding}
|
%if %{official_branding}
|
||||||
# Required by Mozilla Corporation
|
# Required by Mozilla Corporation
|
||||||
@ -314,6 +316,10 @@ update-desktop-database %{_datadir}/applications
|
|||||||
#===============================================================================
|
#===============================================================================
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 11 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.6-4
|
||||||
|
- Fix crashes when using GTK+ themes containing a gtkrc which specify
|
||||||
|
GtkOptionMenu::indicator_size and GtkOptionMenu::indicator_spacing
|
||||||
|
|
||||||
* Mon Sep 10 2007 Martin Stransky <stransky@redhat.com> 2.0.0.6-3
|
* Mon Sep 10 2007 Martin Stransky <stransky@redhat.com> 2.0.0.6-3
|
||||||
- added fix for #246248 - firefox crashes when searching for word "do"
|
- added fix for #246248 - firefox crashes when searching for word "do"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user