[gtk+/native-layout: 56/59] Fixed some faulty comparisons.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/native-layout: 56/59] Fixed some faulty comparisons.
- Date: Thu, 24 Jun 2010 23:25:51 +0000 (UTC)
commit 9f3ad94e75bdc1a3df25174a4422c64d2255080a
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Thu Jun 24 17:58:57 2010 -0400
Fixed some faulty comparisons.
gtk/gtktreeview.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index e73fc0f..18be081 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -2232,7 +2232,7 @@ gtk_tree_view_size_allocate_columns (GtkWidget *widget,
padding = horizontal_separator;
if (draw_vgrid_lines)
{
- if (list->data == first_column || list->data == last_column)
+ if (list == first_column || list == last_column)
padding += grid_line_width / 2.0;
else
padding += grid_line_width;
@@ -5781,7 +5781,7 @@ validate_row (GtkTreeView *tree_view,
if (draw_vgrid_lines)
{
- if (list->data == first_column || list->data == last_column)
+ if (list->data == first_column || list == last_column)
padding += grid_line_width / 2.0;
else
padding += grid_line_width;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]