[Glade-users] gtk_tree_selection_get_selected
Gédéon Légaut
gedeon.legaut at tele2.fr
Mon Jul 31 09:59:46 EDT 2006
Hello,
I have a GtkTreeSelection "selection_categorie"
linked to the treeview "article_tree" with
gtk_tree_view_get_selection
In the treeview "article_tree", I display the GtkTreeStore "store_article"
with a GtkTreeModel *store = GTK_TREE_MODEL (store_article);
GtkTreeIter *iter_categorie is the iter I'm lookking for.
Compilation works fine.
when I run
gtk_tree_selection_get_selected (selection_categorie,
&store,
iter_categorie);
I get the error:
Program received signal SIGSEGV, Segmentation fault.
0xb7eaa943 in gtk_tree_selection_get_selected ()
from /usr/lib/libgtk-x11-2.0.so.0
Do you have an idea what's wrong ?
Gédéon
More information about the Glade-users
mailing list