<rafael> hello! i want to show a dialog when i double-click a row of a treeview, but the "gtk_tree_selection_get_selected" function fails in the callback, could anybody help me? Here are the functions: http://pastebin.ca/741016, "check_1" is showned but not "check_2"
sorry... showned --> shown
<murrayc> rafael: It looks like it should work. You could double-check by looking at the gtk-demo.
<rafael> murrayc: "You could double-check by looking at the gtk-demo" Sorry but I don't understand that.
<murrayc> In the GTK+ tarball, there is a demo directory. It also has an example that responds to row activation.
<garnacho> rafael: if that's actually the code, gtk_tree_view_get_selection() should go before the if()
<rafael> garnacho, it's true, I did it that way before, but the error occurred in the "gtk_tree_selection_get_selected" equally.
<kris> rafael: you should be using the path argument of the row-activated callback, not check the selection
<rafael> you are absolutely right garnacho
<kris> and probably not connect using swapped and use the right signal signature
<rafael> the error occurs in "gtk_tree_view_get_selection"