[gtkada] Bug in Gdk.Pixbuf.Save

Manuel Op de Coul manuel.op.de.coul at eon-benelux.com
Sun Aug 31 21:39:27 CEST 2003


Here's a fix, without it you'll get segmentation faults.

It would be useful to mention in the spec under procedures
Gdk_New_From_File and Save that the Error parameter is not
set if no error occurred.

Manuel

--- gdk-pixbuf.adb  Sun Aug 31 21:19:06 2003
+++ gdk-pixbuf2.adb Sun Aug 31 21:36:54 2003
@@ -256,7 +256,8 @@
         (Pixbuf   : Gdk_Pixbuf;
          Filename : String;
          Format   : String;
-         Error    : out GError);
+         Error    : out GError;
+         Term     : System.Address := System.Null_Address);

       procedure Internal
         (Pixbuf   : Gdk_Pixbuf;





More information about the gtkada mailing list