From 60051ff6700171c384257134952110a3db0643e9 Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Mon, 23 Apr 2001 23:03:53 +0000 Subject: add missing '}' that got munched by #endif. Mon Apr 23 18:57:03 2001 Jonathan Blandford * gtk/gtksocket.c (gtk_socket_filter_func): add missing '}' that got munched by #endif. * gtk/Makefile.am (gtk_plug_c_sources): add missing '\' * gtk/gtktreeview.c: Refactored code to clean up a number of events. * gtk/gtktreemodel.c (gtk_tree_path_compare): Switched return values to make consistent with other functions. Spotted by Jeff Franks . * gtk/gtktreeview.h (struct _GtkTreeViewClass): Fixes to signal declaration spotted by Jeff Franks . --- gtk/gtktreeselection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/gtktreeselection.c') diff --git a/gtk/gtktreeselection.c b/gtk/gtktreeselection.c index 4c511bb58b..e868ac7041 100644 --- a/gtk/gtktreeselection.c +++ b/gtk/gtktreeselection.c @@ -764,7 +764,7 @@ gtk_tree_selection_real_select_range (GtkTreeSelection *selection, switch (gtk_tree_path_compare (start_path, end_path)) { - case -1: + case 1: _gtk_tree_view_find_node (selection->tree_view, end_path, &start_tree, @@ -782,7 +782,7 @@ gtk_tree_selection_real_select_range (GtkTreeSelection *selection, end_tree = start_tree; end_node = start_node; break; - case 1: + case -1: _gtk_tree_view_find_node (selection->tree_view, start_path, &start_tree, -- cgit v1.2.1