summaryrefslogtreecommitdiff
path: root/gtk/gtktreeselection.c
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2001-04-23 23:03:53 +0000
committerJonathan Blandford <jrb@src.gnome.org>2001-04-23 23:03:53 +0000
commit60051ff6700171c384257134952110a3db0643e9 (patch)
tree099100b315903540614e248ee26ae0b9d86a2e41 /gtk/gtktreeselection.c
parent795466829231c3fdc16f7576ac874ab6091fcdf2 (diff)
downloadgtk+-60051ff6700171c384257134952110a3db0643e9.tar.gz
add missing '}' that got munched by #endif.
Mon Apr 23 18:57:03 2001 Jonathan Blandford <jrb@redhat.com> * 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 <jcf@tpg.com.au>. * gtk/gtktreeview.h (struct _GtkTreeViewClass): Fixes to signal declaration spotted by Jeff Franks <jcf@tpg.com.au>.
Diffstat (limited to 'gtk/gtktreeselection.c')
-rw-r--r--gtk/gtktreeselection.c4
1 files changed, 2 insertions, 2 deletions
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,