gtk 2.0 file gsignal.c: line 1745 assertion failed.



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?

Richard Shann





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]