[gtkada] gsignal.c error during button signal connection

T. Kurt Bond tkb at tkb.mpl.com
Sun Aug 24 05:37:41 CEST 2003


Roger Hancock writes:
> Does anyone know why I get the following runtime error when I connect a 
> signal handler to a button:
> 
> GLib-GObject-CRITICAL **: file gsignal.c: line 1745 
> (g_signal_connect_closure_by_id): assertion `signal_id > 0' failed
[...]
>    Button_Callback.Connect(Button,
>                            "Clicked",
>                            Button_Callback.
>                            To_Marshaller(Freeze_Handler'Access));

You need "clicked" (all lower case) instead of "Clicked" (capitalized).
-- 
T. Kurt Bond, tkb at tkb.mpl.com




More information about the gtkada mailing list