[gtkada] Gtkada 2.0 bug report

manuel.op.de.coul at eon-benelux.com manuel.op.de.coul at eon-benelux.com
Mon Jan 6 15:23:45 CET 2003


Arnaud wrote:
>> It seems that the functions
>> Gtk.Pixmap.Get_Mask and Gtk.Pixmap.Get_Pixmap were forgotten,
>> breaking compatibility with 1.2.

>Right, see file docs/2.0-transition.txt

>1.2 and 2.0 are *not* compatible (this was a Gtk+ design decision, 
followed
>by GtkAda).

Yes, I should have written making it less compatible.

docs/2.0-transition.txt says to use Get, but Get is a procedure
and Get_Pixmap is a function, a rather inconvenient change since I
only need to obtain the pixmap and not the mask.
The easiest thing for me to do would be to add Get_Pixmap to
Gtk.Pixmap myself, instead of changing the seven places where I use
it in my code.
Why not keep it in 2.0? Version 1.2 also already had the Get procedure, 
that wasn't a problem for also having Get_Pixmap?

Manuel





More information about the gtkada mailing list