> 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