gdk_pixbuf_save don`t work on win32 from gtk 2.2.1



Hi all

i need your help.
i use gtk 2.2.1
When i try to save file in image
//--------
GdkPixbuf *gdkpixbuf = gdk_pixbuf_new( GDK_COLORSPACE_RGB, false, 8, 10, 10 );
gdk_pixbuf_savev ( gdkpixbuf, "my.jpg", "png", &option_key, &option_value, &ger );
//-------
i have got next message to console:
  (gtk_test.exe:4294541075): GLib-WARNING **: [Invalid UTF-8] GError set over
  top of a previous GError or uninitialized memory.
  This indicates a bug in someone's code. You must ensure an error is NULL bef
  it's set.
  The overwriting error message was: Unable to load image-loading module: C:\P
  SEARCH\GTK\GTK_TEST\DEBUG/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-jpeg.dll
as we can see that gtk use wrong slash under windows ( \DEBUG/ ).
(uder linux my sample is work)

how solve the problem ?

-- 
 Hirurg                          mailto:hirurg avanet org ua




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