forked from AuroraMiddleware/gtk
remove unneeded check for negative window_y.
2005-07-10 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): remove unneeded check for negative window_y.
This commit is contained in:
parent
53db7cc902
commit
4b28e78a48
@ -1,3 +1,8 @@
|
||||
2005-07-10 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): remove
|
||||
unneeded check for negative window_y.
|
||||
|
||||
2005-07-10 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_search_key_press_event): also move
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-07-10 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): remove
|
||||
unneeded check for negative window_y.
|
||||
|
||||
2005-07-10 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_search_key_press_event): also move
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-07-10 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): remove
|
||||
unneeded check for negative window_y.
|
||||
|
||||
2005-07-10 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_search_key_press_event): also move
|
||||
|
@ -8654,10 +8654,7 @@ gtk_tree_view_move_cursor_page_up_down (GtkTreeView *tree_view,
|
||||
gtk_tree_view_real_set_cursor (tree_view, cursor_path, TRUE, FALSE);
|
||||
gtk_tree_path_free (cursor_path);
|
||||
|
||||
if (window_y < 0)
|
||||
window_y = 0;
|
||||
y -= window_y;
|
||||
|
||||
gtk_tree_view_scroll_to_point (tree_view, -1, y);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user