diff options
Diffstat (limited to 'demos')
-rw-r--r-- | demos/testpixbuf-drawable.c | 2 | ||||
-rw-r--r-- | demos/testpixbuf-save.c | 2 | ||||
-rw-r--r-- | demos/testpixbuf-scale.c | 2 | ||||
-rw-r--r-- | demos/testpixbuf.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/demos/testpixbuf-drawable.c b/demos/testpixbuf-drawable.c index 7afb8658fb..04114fd6b0 100644 --- a/demos/testpixbuf-drawable.c +++ b/demos/testpixbuf-drawable.c @@ -60,7 +60,7 @@ configure_cb (GtkWidget *drawing_area, GdkEventConfigure *evt, gpointer data) new_pixbuf = gdk_pixbuf_get_from_drawable (NULL, root, NULL, 0, 0, 0, 0, evt->width, evt->height); g_object_set_data (G_OBJECT (drawing_area), "pixbuf", new_pixbuf); - gdk_pixbuf_unref (pixbuf); + g_object_unref (pixbuf); } return FALSE; diff --git a/demos/testpixbuf-save.c b/demos/testpixbuf-save.c index 1ed689bd54..f592ffc455 100644 --- a/demos/testpixbuf-save.c +++ b/demos/testpixbuf-save.c @@ -205,7 +205,7 @@ configure_cb (GtkWidget *drawing_area, GdkEventConfigure *evt, gpointer data) new_pixbuf = gdk_pixbuf_get_from_drawable (NULL, root, NULL, 0, 0, 0, 0, evt->width, evt->height); g_object_set_data (G_OBJECT (drawing_area), "pixbuf", new_pixbuf); - gdk_pixbuf_unref (pixbuf); + g_object_unref (pixbuf); } return FALSE; diff --git a/demos/testpixbuf-scale.c b/demos/testpixbuf-scale.c index 0f25487c44..2f1fe441c2 100644 --- a/demos/testpixbuf-scale.c +++ b/demos/testpixbuf-scale.c @@ -47,7 +47,7 @@ expose_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data) event->area.width, event->area.height, GDK_RGB_DITHER_NORMAL, event->area.x, event->area.y); - gdk_pixbuf_unref (dest); + g_object_unref (dest); return TRUE; } diff --git a/demos/testpixbuf.c b/demos/testpixbuf.c index f79f6c66db..d704151cf1 100644 --- a/demos/testpixbuf.c +++ b/demos/testpixbuf.c @@ -474,7 +474,7 @@ progressive_prepared_callback (GdkPixbufLoader* loader, gpointer data) pixbuf = gdk_pixbuf_loader_get_pixbuf (loader); g_assert (pixbuf != NULL); - gdk_pixbuf_ref (pixbuf); /* for the RGB window */ + g_object_ref (pixbuf); /* for the RGB window */ *retloc = new_testrgb_window (pixbuf, "Progressive"); |