gdip-pixbuf-loader r37 - trunk/src



Author: doml
Date: Sun Feb 24 23:52:43 2008
New Revision: 37
URL: http://svn.gnome.org/viewvc/gdip-pixbuf-loader?rev=37&view=rev

Log:
remove dead code; update documentation

Modified:
   trunk/src/io-gdip-utils.c

Modified: trunk/src/io-gdip-utils.c
==============================================================================
--- trunk/src/io-gdip-utils.c	(original)
+++ trunk/src/io-gdip-utils.c	Sun Feb 24 23:52:43 2008
@@ -735,9 +735,6 @@
       emit_prepared (context, pixbuf, GDK_PIXBUF_ANIMATION (animation));
 
     emit_updated (context, pixbuf);
-
-    /* emit_prepared() takes a ref */
-    /* g_object_unref (G_OBJECT (pixbuf)); */
   }
 
   if (animation != NULL)
@@ -831,7 +828,8 @@
     module->stop_load      = gdk_pixbuf__gdip_image_stop_load;
     module->load_increment = gdk_pixbuf__gdip_image_load_increment;
     
-    /* this is the only way to get gtk_image_new_from_file() to load animations */
+    /* this is the only way to get gtk_image_new_from_file() to load animations. it regrettably
+       does not use the GdkPixbufLoader interface. */
     module->load_animation = gdk_pixbuf__gdip_image_load_animation;
   }
 }



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