Commit dc5be9ed authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Kristian Rietveld

fix logic (fixes #74235, #73593)

Thu Mar 21 00:05:14 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (gtk_tree_view_get_background_area),
        (gtk_tree_view_get_cell_area): fix logic (fixes #74235, #73593)
parent b93bcb5e
Thu Mar 21 00:05:14 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_get_background_area),
(gtk_tree_view_get_cell_area): fix logic (fixes #74235, #73593)
Wed Mar 20 17:11:51 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c: Patch from Richard Hestilow to fix
......
Thu Mar 21 00:05:14 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_get_background_area),
(gtk_tree_view_get_cell_area): fix logic (fixes #74235, #73593)
Wed Mar 20 17:11:51 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c: Patch from Richard Hestilow to fix
......
Thu Mar 21 00:05:14 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_get_background_area),
(gtk_tree_view_get_cell_area): fix logic (fixes #74235, #73593)
Wed Mar 20 17:11:51 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c: Patch from Richard Hestilow to fix
......
Thu Mar 21 00:05:14 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_get_background_area),
(gtk_tree_view_get_cell_area): fix logic (fixes #74235, #73593)
Wed Mar 20 17:11:51 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c: Patch from Richard Hestilow to fix
......
Thu Mar 21 00:05:14 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_get_background_area),
(gtk_tree_view_get_cell_area): fix logic (fixes #74235, #73593)
Wed Mar 20 17:11:51 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c: Patch from Richard Hestilow to fix
......
Thu Mar 21 00:05:14 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_get_background_area),
(gtk_tree_view_get_cell_area): fix logic (fixes #74235, #73593)
Wed Mar 20 17:11:51 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c: Patch from Richard Hestilow to fix
......
......@@ -9335,8 +9335,8 @@ gtk_tree_view_get_cell_area (GtkTreeView *tree_view,
if (path)
{
/* Get vertical coords */
if (_gtk_tree_view_find_node (tree_view, path, &tree, &node) &&
tree != NULL)
if (!_gtk_tree_view_find_node (tree_view, path, &tree, &node) &&
tree == NULL)
return;
rect->y = CELL_FIRST_PIXEL (tree_view, tree, node, vertical_separator);
......@@ -9395,8 +9395,8 @@ gtk_tree_view_get_background_area (GtkTreeView *tree_view,
{
/* Get vertical coords */
if (_gtk_tree_view_find_node (tree_view, path, &tree, &node) &&
tree != NULL)
if (!_gtk_tree_view_find_node (tree_view, path, &tree, &node) &&
tree == NULL)
return;
rect->y = BACKGROUND_FIRST_PIXEL (tree_view, tree, node);
......
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