G'day,

I have the following run time error:

(dump_key:16343): GLib-GObject-WARNING **: gsignal.c:1716: signal
`row_activated' is invalid for instance `0x80a6d00'

There are no compile time errors or warnings when using gcc -Wall.

In the code below when I use "changed" all works well, when I use
"row_activated" I get the above error.

<code block>

treeview = gtree_fillPopUp(DispListHdl, cols);
gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(treeview), FALSE);

sel = gtk_tree_view_get_selection((GtkTreeView*)treeview);
gtk_tree_selection_set_mode(sel, GTK_SELECTION_SINGLE);
/* The commented out line works  */
/*  g_signal_connect(sel, "changed",
G_CALLBACK(gtree_onSelectionChanged), (GtkTreeView*)treeview); */
g_signal_connect(sel, "row_activated",
G_CALLBACK(gtree_onSelectionChanged), (GtkTreeView*)treeview);

gtk_container_add(GTK_CONTAINER(sw), treeview);

</code block>

Any suggestions greatly received.

Regards,

Ashley

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to