[maemo-commits] [maemo-commits] r17542 - in projects/haf/trunk/sapwood: . engine

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Feb 27 17:17:16 EET 2009
Author: herzi
Date: 2009-02-27 17:17:12 +0200 (Fri, 27 Feb 2009)
New Revision: 17542

Modified:
   projects/haf/trunk/sapwood/ChangeLog
   projects/haf/trunk/sapwood/engine/theme-pixbuf.c
Log:
2009-02-27  Sven Herzberg  <herzi at lanedo.com>

	NB#103175 - Sapwood crashes when large windows trigger BadAlloc errors

	* engine/theme-pixbuf.c (theme_pixbuf_render): enable the gdk_flush()
	call between the error traps


Modified: projects/haf/trunk/sapwood/ChangeLog
===================================================================
--- projects/haf/trunk/sapwood/ChangeLog	2009-02-27 15:17:05 UTC (rev 17541)
+++ projects/haf/trunk/sapwood/ChangeLog	2009-02-27 15:17:12 UTC (rev 17542)
@@ -1,5 +1,12 @@
 2009-02-27  Sven Herzberg  <herzi at lanedo.com>
 
+	NB#103175 - Sapwood crashes when large windows trigger BadAlloc errors
+
+	* engine/theme-pixbuf.c (theme_pixbuf_render): enable the gdk_flush()
+	call between the error traps
+
+2009-02-27  Sven Herzberg  <herzi at lanedo.com>
+
 	About NB#103175 - Sapwood crashes when large windows trigger BadAlloc
 	errors
 

Modified: projects/haf/trunk/sapwood/engine/theme-pixbuf.c
===================================================================
--- projects/haf/trunk/sapwood/engine/theme-pixbuf.c	2009-02-27 15:17:05 UTC (rev 17541)
+++ projects/haf/trunk/sapwood/engine/theme-pixbuf.c	2009-02-27 15:17:12 UTC (rev 17542)
@@ -384,7 +384,7 @@
 
 	  mask = gdk_pixmap_new (NULL, mask_width, mask_height, 1);
 
-	  /* gdk_flush (); */
+	  gdk_flush ();
 	  if (gdk_error_trap_pop ())
 	    {
 	      if (clip_rect)


More information about the maemo-commits mailing list