Commit 838497e8 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Don't use uninitialized node pointer. (#147911, Peter Zelezny)

Mon Jul 19 23:51:50 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktreeview.c (gtk_tree_view_enter_notify): Don't
	use uninitialized node pointer.  (#147911, Peter Zelezny)
parent 48ba281c
Mon Jul 19 23:51:50 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_enter_notify): Don't
use uninitialized node pointer. (#147911, Peter Zelezny)
* gtk/gtktreeview.c (gtk_tree_view_enter_notify):
Tue Jul 20 04:34:56 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* configure.in: Bump version number
......
Mon Jul 19 23:51:50 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_enter_notify): Don't
use uninitialized node pointer. (#147911, Peter Zelezny)
* gtk/gtktreeview.c (gtk_tree_view_enter_notify):
Tue Jul 20 04:34:56 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* configure.in: Bump version number
......
Mon Jul 19 23:51:50 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_enter_notify): Don't
use uninitialized node pointer. (#147911, Peter Zelezny)
* gtk/gtktreeview.c (gtk_tree_view_enter_notify):
Tue Jul 20 04:34:56 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* configure.in: Bump version number
......
Mon Jul 19 23:51:50 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_enter_notify): Don't
use uninitialized node pointer. (#147911, Peter Zelezny)
* gtk/gtktreeview.c (gtk_tree_view_enter_notify):
Tue Jul 20 04:34:56 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* configure.in: Bump version number
......
......@@ -4253,17 +4253,15 @@ gtk_tree_view_enter_notify (GtkWidget *widget,
if (tree_view->priv->tree == NULL)
return FALSE;
if ((tree_view->priv->button_pressed_node != NULL) &&
(tree_view->priv->button_pressed_node != node))
return TRUE;
/* find the node internally */
new_y = TREE_WINDOW_Y_TO_RBTREE_Y(tree_view, event->y);
if (new_y < 0)
new_y = 0;
_gtk_rbtree_find_offset (tree_view->priv->tree, new_y, &tree, &node);
prelight_or_select (tree_view, tree, node, event->x, event->y);
if ((tree_view->priv->button_pressed_node == NULL) ||
(tree_view->priv->button_pressed_node == node))
prelight_or_select (tree_view, tree, node, event->x, event->y);
return TRUE;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment