summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArx Cruz <arxcruz@gnome.org>2013-05-23 16:27:58 -0300
committerArx Cruz <arxcruz@gnome.org>2013-05-23 16:27:58 -0300
commit7c234ed9b71d5f009abff509ef2bf576f61a0cbb (patch)
treed5b185f4e04573e591e3dae306a4586d0a1a45d9 /src
parentUpdated German help translation (fix tag mismatches) (diff)
downloadzenity-7c234ed9b71d5f009abff509ef2bf576f61a0cbb.tar.gz
zenity-7c234ed9b71d5f009abff509ef2bf576f61a0cbb.tar.bz2
zenity-7c234ed9b71d5f009abff509ef2bf576f61a0cbb.zip
Bug 698683 - Double clicking an item or hitting enter after selecting an item
returns it twice
Diffstat (limited to 'src')
-rw-r--r--src/tree.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/tree.c b/src/tree.c
index cf902391..031765e4 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -710,12 +710,6 @@ zenity_tree_row_activated (GtkTreeView *tree_view, GtkTreePath *tree_path,
GtkTreeViewColumn *tree_col, gpointer data)
{
ZenityData *zen_data = data;
- GtkTreeSelection *selection;
-
- selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (tree_view));
- gtk_tree_selection_selected_foreach (selection,
- (GtkTreeSelectionForeachFunc) zenity_tree_dialog_get_selected,
- GTK_TREE_VIEW (tree_view));
zenity_tree_dialog_output ();
zen_data->exit_code = zenity_util_return_exit_code (ZENITY_OK);
bgstack15