[gtkada] Possible problem in Glib.Properties

Arnaud Charlet charlet at adacore.com
Thu Nov 18 08:57:00 CET 2004


> For the bug I reported:
> http://bugzilla.gnome.org/show_bug.cgi?id=157455
> a testcase was written which shows it's not in gtk:
> http://bugzilla.gnome.org/attachment.cgi?id=33691&action=view

Agreed.

The bug isn't in GtkAda itself. The bug is in your test case: you didn't
bind gtk_widget_get_settings properly.

More specifically, you forgot to create the corresponding Ada handle for the
return C GtkSettings. See e.g. Glib.Object.Set_Object

Arno



More information about the gtkada mailing list