diff src/pixbuf_util.c @ 1043:5fc64d6252e7

Replaced gtk depreceated code.
author bruclik
date Sun, 07 Sep 2008 23:01:30 +0000
parents d22e21bfd2a3
children 1646720364cf
line wrap: on
line diff
--- a/src/pixbuf_util.c	Sun Sep 07 19:42:19 2008 +0000
+++ b/src/pixbuf_util.c	Sun Sep 07 23:01:30 2008 +0000
@@ -330,7 +330,7 @@
 			}
 		}
 
-	gdk_pixbuf_unref(buffer);
+	g_object_unref(buffer);
 
 #if 0
 	/* this is the simple version of rotation (roughly 2-4x slower) */
@@ -472,7 +472,7 @@
 			dest = gdk_pixbuf_copy(pixbuf);
 			break;
 		}
-	if (tmp) gdk_pixbuf_unref(tmp);
+	if (tmp) g_object_unref(tmp);
 	return dest;
 
 }