[gtkada] Gtk.Main

Emmanuel Briot briot at adacore.com
Thu Mar 8 12:53:02 CET 2012


On 03/06/2012 03:50 PM, Op de Coul, Manuel wrote:
> Hello, in the current version we have in gtk-main.ads:
>
>     procedure Idle_Remove (Id : Idle_Handler_Id);
>     pragma Obsolescent (Idle_Remove, "Use Glib.Main.Idle_Remove");
>     --  Remove an idle callback, when its Id is known.
>
> However Glib.Main.Idle_Remove does not exist.

Indeed, perhaps you can try adding the binding manually to see if it works ?

    procedure Idle_Remove (Source : G_Source_Id);
    pragma Import (C, Idle_Remove, "g_idle_remove");

and let us know if it works, we'll add it to GtkAda.

regards
Emmanuel


More information about the gtkada mailing list