gtk+ r19364 - trunk/gdk-pixbuf



Author: mitch
Date: Mon Jan 14 11:30:34 2008
New Revision: 19364
URL: http://svn.gnome.org/viewvc/gtk+?rev=19364&view=rev

Log:
2008-01-14  Michael Natterer  <mitch imendio com>

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_prepare): cast the return
	value of _gdk_pixbuf_scaled_anim_new() to fix incompatible pointer
	warning.



Modified:
   trunk/gdk-pixbuf/ChangeLog
   trunk/gdk-pixbuf/gdk-pixbuf-loader.c

Modified: trunk/gdk-pixbuf/gdk-pixbuf-loader.c
==============================================================================
--- trunk/gdk-pixbuf/gdk-pixbuf-loader.c	(original)
+++ trunk/gdk-pixbuf/gdk-pixbuf-loader.c	Mon Jan 14 11:30:34 2008
@@ -279,10 +279,10 @@
                 anim = gdk_pixbuf_non_anim_new (pixbuf);
   
 	if (priv->needs_scale) {
-		priv->animation  = _gdk_pixbuf_scaled_anim_new (anim, 	
+		priv->animation  = GDK_PIXBUF_ANIMATION (_gdk_pixbuf_scaled_anim_new (anim,
                                          (double) priv->width / gdk_pixbuf_get_width (pixbuf),
                                          (double) priv->height / gdk_pixbuf_get_height (pixbuf),
-					  1.0);
+					  1.0));
 			g_object_unref (anim);
 	}
 	else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]