rpms/firefox/devel firefox-2.0-indicator-crash.patch, NONE, 1.1 firefox.spec, 1.195, 1.196

Christopher Aillon (caillon) fedora-extras-commits at redhat.com
Tue Sep 11 18:56:02 UTC 2007


Author: caillon

Update of /cvs/extras/rpms/firefox/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14563

Modified Files:
	firefox.spec 
Added Files:
	firefox-2.0-indicator-crash.patch 
Log Message:
* Tue Sep 11 2007 Christopher Aillon <caillon at redhat.com> 2.0.0.6-8
- Fix crashes when using GTK+ themes containing a gtkrc which specify 
  GtkOptionMenu::indicator_size and GtkOptionMenu::indicator_spacing


firefox-2.0-indicator-crash.patch:

--- NEW FILE firefox-2.0-indicator-crash.patch ---
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;
 }


Index: firefox.spec
===================================================================
RCS file: /cvs/extras/rpms/firefox/devel/firefox.spec,v
retrieving revision 1.195
retrieving revision 1.196
diff -u -r1.195 -r1.196
--- firefox.spec	10 Sep 2007 13:10:00 -0000	1.195
+++ firefox.spec	11 Sep 2007 18:55:30 -0000	1.196
@@ -12,7 +12,7 @@
 Summary:        Mozilla Firefox Web browser.
 Name:           firefox
 Version:        2.0.0.6
-Release:        7%{?dist}
+Release:        8%{?dist}
 URL:            http://www.mozilla.org/projects/firefox/
 License:        MPLv1.1 or GPLv2+ or LGPLv2+
 Group:          Applications/Internet
@@ -71,6 +71,7 @@
 Patch102:       firefox-1.5-theme-change.patch
 Patch104:       firefox-1.5-ppc64.patch
 Patch105:       firefox-2.0-dnd.patch
+Patch106:       firefox-2.0-indicator-crash.patch
 
 %if %{official_branding}
 # Required by Mozilla Corporation
@@ -172,6 +173,7 @@
 %patch102 -p0 -b .theme-change
 %patch104 -p1 -b .ppc64
 %patch105 -p0 -b .dnd
+%patch106 -p1 -b .indicator-crash
 
 # For branding specific patches.
 
@@ -438,6 +440,10 @@
 #---------------------------------------------------------------------
 
 %changelog
+* Tue Sep 11 2007 Christopher Aillon <caillon at redhat.com> 2.0.0.6-8
+- 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 at redhat.com> 2.0.0.6-7
 - added fix for #246248 - firefox crashes when searching for word "do"
 




More information about the fedora-extras-commits mailing list