freebsd-ports/www/seamonkey2/files/patch-mozilla_widget_src_gtk2_mozdrawingarea.c
Joe Marcus Clarke 4eaecc6a2d * Fix IDL installation [1]
* Correct path to the icon in the Desktop item [2]
* Add a patch to fix potential crashes with newer versions of GTK+ that can
  occur when closing windows [3]

PR:		84896 [2]
Submitted by:	mezz [1]
		chinsan <chinsan.tw@gmail.com> [2]
Obtained from:	https://bugzilla.mozilla.org/show_bug.cgi?id=300226 [3]
2005-08-28 19:08:08 +00:00

12 lines
471 B
C

--- widget/src/gtk2/mozdrawingarea.c.orig Tue Apr 30 12:29:00 2002
+++ widget/src/gtk2/mozdrawingarea.c Thu Aug 18 22:27:27 2005
@@ -168,7 +168,9 @@
drawingarea = MOZ_DRAWINGAREA(object);
+ gdk_window_set_user_data(drawingarea->inner_window, NULL);
gdk_window_destroy(drawingarea->inner_window);
+ gdk_window_set_user_data(drawingarea->clip_window, NULL);
gdk_window_destroy(drawingarea->clip_window);
(* parent_class->finalize) (object);