From 194229250adc499cc0b20075fd26566549c04ffc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 18 Apr 2008 18:47:43 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ tests/icles/gdkpixbufsink-test.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b45c77d..6ac98a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-04-18 Tim-Philipp Müller + + * tests/icles/gdkpixbufsink-test.c: + Add cast to placate gcc 4.1.2. + 2008-04-16 Jan Schmidt * configure.ac: diff --git a/tests/icles/gdkpixbufsink-test.c b/tests/icles/gdkpixbufsink-test.c index d23b182..b09fe09 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; -- 2.7.4