Christoph Kukulies <[EMAIL PROTECTED]> writes:
> gtk-1.2.8:
>
> I built Sweep, a sound editing tool.and I got the following when I started it, resp.
>when I tried to open a
> sound file:
>
> Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
>
> Gtk-CRITICAL **: file gtksignal.c: line 724 (gtk_signal_connect): assertion `object
>!= NULL' failed.
>
> Any clues where to look. Who do I have top blame: Gtk or the application?
Most probably the application. It looks as if you try to connect to a signal
of a nonexistant object (the object pointer is NULL). You should check all
parameters of (public) functions with g_return_if_fail (foo != NULL)
statements to catch those errors early.
Salut, Sven
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list