thunderbird/firefox-2.0-indicator-crash.patch
Christopher Aillon 2cab984edd - Fix crashes when using GTK+ themes containing a gtkrc which specify
GtkOptionMenu::indicator_size and GtkOptionMenu::indicator_spacing
2007-09-11 18:58:30 +00:00

16 lines
537 B
Diff

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