gdip-pixbuf-loader r7 - in trunk: . src



Author: doml
Date: Mon Feb 18 16:51:05 2008
New Revision: 7
URL: http://svn.gnome.org/viewvc/gdip-pixbuf-loader?rev=7&view=rev

Log:
2008-02-18  Dominic Lachowicz <domlachowicz gmail com>

	* src/io-gdip.c: Move the init() call to fill_vtable, so that it's only called once

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

Modified: trunk/src/io-gdip.c
==============================================================================
--- trunk/src/io-gdip.c	(original)
+++ trunk/src/io-gdip.c	Mon Feb 18 16:51:05 2008
@@ -139,7 +139,6 @@
 	buffer_len = image_buffer->len;
 	tmp_buffer = image_buffer->data;
 
-        io_gdip_init ();
 	bitmap = io_gdip_buffer_to_bitmap ((gchar*)image_buffer->data, image_buffer->len);
 
 	//Destroy bytearray?
@@ -222,6 +221,8 @@
                 NULL
         };
 
+        io_gdip_init ();
+
         info->name        = "Win32 GDI+";
         info->signature = signature;
         info->description = "Win32 GDI+ Jpeg, Tiff and Png loader.";



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