gnome-control-center r9253 - in trunk: . capplets/common font-viewer



Author: thomashpa
Date: Mon Feb  9 13:52:54 2009
New Revision: 9253
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=9253&view=rev

Log:
Replace gdk_pixbuf_unref with g_object_unref

Modified:
   trunk/ChangeLog
   trunk/capplets/common/gconf-property-editor.c
   trunk/font-viewer/font-thumbnailer.c

Modified: trunk/capplets/common/gconf-property-editor.c
==============================================================================
--- trunk/capplets/common/gconf-property-editor.c	(original)
+++ trunk/capplets/common/gconf-property-editor.c	Mon Feb  9 13:52:54 2009
@@ -1518,7 +1518,7 @@
 	g_free (filename);
 
 	if (pixbuf != NULL)
-		gdk_pixbuf_unref (pixbuf);
+		g_object_unref (pixbuf);
 }
 
 static void

Modified: trunk/font-viewer/font-thumbnailer.c
==============================================================================
--- trunk/font-viewer/font-thumbnailer.c	(original)
+++ trunk/font-viewer/font-thumbnailer.c	Mon Feb  9 13:52:54 2009
@@ -214,7 +214,7 @@
 					 trim_right - trim_left,
 					 trim_bottom - trim_top);
     gdk_pixbuf_save(subpixbuf, filename, "png", NULL, NULL);
-    gdk_pixbuf_unref(subpixbuf);
+    g_object_unref(subpixbuf);
 }
 
 int



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