X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=driver%2Fxscreensaver-getimage.c;h=8eac38de09cf304d4b90d6f87c2c63bdb74e651c;hp=22aefc34d7904249182bd80cd99865443dc9bfa6;hb=ff35d056d723c9a5ffe728dbba5f1c25e141be04;hpb=b81f521c5ad7022ac12db18ca8fcdd9fb063831e diff --git a/driver/xscreensaver-getimage.c b/driver/xscreensaver-getimage.c index 22aefc34..8eac38de 100644 --- a/driver/xscreensaver-getimage.c +++ b/driver/xscreensaver-getimage.c @@ -413,7 +413,7 @@ read_file_gdk (Screen *screen, Window window, Drawable drawable, int ow = w, oh = h; GdkPixbuf *opb = pb; pb = gdk_pixbuf_apply_embedded_orientation (opb); - gdk_pixbuf_unref (opb); + g_object_unref (opb); w = gdk_pixbuf_get_width (pb); h = gdk_pixbuf_get_height (pb); if (verbose_p && (w != ow || h != oh)) @@ -430,7 +430,7 @@ read_file_gdk (Screen *screen, Window window, Drawable drawable, GDK_INTERP_BILINEAR); if (pb2) { - gdk_pixbuf_unref (pb); + g_object_unref (pb); pb = pb2; w = w2; h = h2;