gtk_tree_selection_get_selected (selection, &model, &iter);
path = gtk_tree_model_get_path (model, &iter);
if (!path || gtk_tree_path_get_depth (path) < 1)
gtk_tree_selection_get_selected (selection, &model, &iter);
path = gtk_tree_model_get_path (model, &iter);
if (!path || gtk_tree_path_get_depth (path) < 1)