remove stray debugging g_prints.

2005-07-03  Manish Singh  <yosh@gimp.org>

        * gtk/gtktreeview.c (gtk_tree_view_vertical_autoscroll): remove
        stray debugging g_prints.
This commit is contained in:
Manish Singh
2005-07-03 17:42:06 +00:00
committed by Manish Singh
parent 7b5a53121c
commit 84e1d2c232
4 changed files with 15 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
2005-07-03 Manish Singh <yosh@gimp.org>
* gtk/gtktreeview.c (gtk_tree_view_vertical_autoscroll): remove
stray debugging g_prints.
2005-07-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesel.c (cmpl_init_state): Prevent an infinite

View File

@@ -1,3 +1,8 @@
2005-07-03 Manish Singh <yosh@gimp.org>
* gtk/gtktreeview.c (gtk_tree_view_vertical_autoscroll): remove
stray debugging g_prints.
2005-07-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesel.c (cmpl_init_state): Prevent an infinite

View File

@@ -1,3 +1,8 @@
2005-07-03 Manish Singh <yosh@gimp.org>
* gtk/gtktreeview.c (gtk_tree_view_vertical_autoscroll): remove
stray debugging g_prints.
2005-07-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesel.c (cmpl_init_state): Prevent an infinite

View File

@@ -3235,15 +3235,12 @@ gtk_tree_view_vertical_autoscroll (GtkTreeView *tree_view)
/* see if we are near the edge. */
offset = y - (visible_rect.y + 2 * SCROLL_EDGE_SIZE);
g_print ("offset1 %d\n", offset);
if (offset > 0)
{
offset = y - (visible_rect.y + visible_rect.height - 2 * SCROLL_EDGE_SIZE);
g_print ("offset2 %d\n", offset);
if (offset < 0)
return;
}
g_print ("offset3 %d\n", offset);
value = CLAMP (tree_view->priv->vadjustment->value + offset, 0.0,
tree_view->priv->vadjustment->upper - tree_view->priv->vadjustment->page_size);