[Glade-users] gtk_tree_selection_get_selected



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









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