Re: gtk 2.0 file gsignal.c: line 1745 assertion failed.
- From: Owen Taylor <otaylor redhat com>
- To: richard shann virgin net
- Cc: gtk-list gnome org
- Subject: Re: gtk 2.0 file gsignal.c: line 1745 assertion failed.
- Date: 17 Feb 2003 00:10:03 -0500
On Sun, 2003-02-16 at 07:31, Richard Shann wrote:
> Hi,
>
> I have ported denemo to gtk-2.0 and I'm getting trouble at the line
>
> gtk_signal_connect_after (GTK_OBJECT
> (GTK_FILE_SELECTION (file_selection)->dir_list),
> "select_row", GTK_SIGNAL_FUNC (new_dir_selected),
> &cbdata);
>
> which causes gtk to whinge:
>
> (denemo:2542): GLib-GObject-CRITICAL **: file gsignal.c: line 1745
> (g_signal_connect_closure_by_id): assertion `signal_id > 0' failed
>
> (denemo:2542): GLib-GObject-WARNING **: invalid cast from `GtkTreeView'
> to `GtkCList'
>
> I see that gtk_signal* are deprecated, but is this a bug in gtk anyway?
Well, it's a little inelegant way of saying "you are trying connect
a signal exist.
dir_list changed from a GtkCList to a GtkTreeView in GTK+-2.0 ...
completely different API.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]