[gtkada] Gtk.Main

Emmanuel Briot briot at adacore.com
Thu Mar 8 12:54:49 CET 2012


> 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");

Oups, sent to fast. I was double-checking whether the function exists, and it 
doesn't. In fact, you should simply use

   Glib.Main.Remove (Source);

I have updated the comment.

Emmanuel


More information about the gtkada mailing list