summaryrefslogtreecommitdiff
path: root/tests/icles
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2008-04-18 18:47:43 +0000
committerTim-Philipp Müller <tim@centricular.net>2008-04-18 18:47:43 +0000
commit194229250adc499cc0b20075fd26566549c04ffc (patch)
tree5f21bf7e0aa1cde74f3ecdb2b9fb315895d02faa /tests/icles
parentb13ecc839447b0b30ad4be3d15dec2119a0af277 (diff)
tests/icles/gdkpixbufsink-test.c: Add cast to placate gcc 4.1.2.
Original commit message from CVS: * tests/icles/gdkpixbufsink-test.c: Add cast to placate gcc 4.1.2.
Diffstat (limited to 'tests/icles')
-rw-r--r--tests/icles/gdkpixbufsink-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/icles/gdkpixbufsink-test.c b/tests/icles/gdkpixbufsink-test.c
index d23b18280..b09fe09a2 100644
--- a/tests/icles/gdkpixbufsink-test.c
+++ b/tests/icles/gdkpixbufsink-test.c
@@ -160,7 +160,7 @@ bus_message_cb (GstBus * bus, GstMessage * msg, AppInfo * info)
val = gst_structure_get_value (msg->structure, "pixbuf");
g_return_if_fail (val != NULL);
- pixbuf = g_value_dup_object (val);
+ pixbuf = GDK_PIXBUF (g_value_dup_object (val));
gtk_image_set_from_pixbuf (GTK_IMAGE (info->img), pixbuf);
g_object_unref (pixbuf);
break;