forked from AuroraMiddleware/gtk
x can be in the range [0, upper], which can be bigger than [0, page_size].
Tue Dec 10 02:14:12 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): x can be in the range [0, upper], which can be bigger than [0, page_size]. (Fixed #99778, reported and testcase provided by Carlos Garnacho Parro).
This commit is contained in:
parent
5b3964b91e
commit
bfb45391db
@ -1,3 +1,10 @@
|
||||
Tue Dec 10 02:14:12 2002 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): x can be in
|
||||
the range [0, upper], which can be bigger than [0, page_size].
|
||||
(Fixed #99778, reported and testcase provided by Carlos Garnacho
|
||||
Parro).
|
||||
|
||||
Mon Dec 9 19:49:03 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_move_resize): Remove
|
||||
|
@ -1,3 +1,10 @@
|
||||
Tue Dec 10 02:14:12 2002 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): x can be in
|
||||
the range [0, upper], which can be bigger than [0, page_size].
|
||||
(Fixed #99778, reported and testcase provided by Carlos Garnacho
|
||||
Parro).
|
||||
|
||||
Mon Dec 9 19:49:03 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_move_resize): Remove
|
||||
|
@ -1,3 +1,10 @@
|
||||
Tue Dec 10 02:14:12 2002 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): x can be in
|
||||
the range [0, upper], which can be bigger than [0, page_size].
|
||||
(Fixed #99778, reported and testcase provided by Carlos Garnacho
|
||||
Parro).
|
||||
|
||||
Mon Dec 9 19:49:03 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_move_resize): Remove
|
||||
|
@ -1,3 +1,10 @@
|
||||
Tue Dec 10 02:14:12 2002 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): x can be in
|
||||
the range [0, upper], which can be bigger than [0, page_size].
|
||||
(Fixed #99778, reported and testcase provided by Carlos Garnacho
|
||||
Parro).
|
||||
|
||||
Mon Dec 9 19:49:03 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_move_resize): Remove
|
||||
|
@ -1,3 +1,10 @@
|
||||
Tue Dec 10 02:14:12 2002 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): x can be in
|
||||
the range [0, upper], which can be bigger than [0, page_size].
|
||||
(Fixed #99778, reported and testcase provided by Carlos Garnacho
|
||||
Parro).
|
||||
|
||||
Mon Dec 9 19:49:03 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_move_resize): Remove
|
||||
|
@ -1,3 +1,10 @@
|
||||
Tue Dec 10 02:14:12 2002 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): x can be in
|
||||
the range [0, upper], which can be bigger than [0, page_size].
|
||||
(Fixed #99778, reported and testcase provided by Carlos Garnacho
|
||||
Parro).
|
||||
|
||||
Mon Dec 9 19:49:03 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_move_resize): Remove
|
||||
|
@ -9772,7 +9772,7 @@ gtk_tree_view_get_path_at_pos (GtkTreeView *tree_view,
|
||||
if (tree_view->priv->tree == NULL)
|
||||
return FALSE;
|
||||
|
||||
if (x > tree_view->priv->hadjustment->page_size)
|
||||
if (x > tree_view->priv->hadjustment->upper)
|
||||
return FALSE;
|
||||
|
||||
if (x < 0 || y < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user