gtk+ r19419 - in trunk: . gtk



Author: pborelli
Date: Mon Jan 28 16:06:16 2008
New Revision: 19419
URL: http://svn.gnome.org/viewvc/gtk+?rev=19419&view=rev

Log:
2008-01-28  Paolo Borelli  <pborelli katamail com>

	* gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
	layout, fixes #512375.



Modified:
   trunk/ChangeLog
   trunk/gtk/gtkprintunixdialog.c

Modified: trunk/gtk/gtkprintunixdialog.c
==============================================================================
--- trunk/gtk/gtkprintunixdialog.c	(original)
+++ trunk/gtk/gtkprintunixdialog.c	Mon Jan 28 16:06:16 2008
@@ -2000,7 +2000,8 @@
 	  cairo_restore (cr);
 	}
     }
-    
+
+  g_object_unref (layout);
   cairo_destroy (cr);
 
   return TRUE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]