check if width is !null, not *width. Doh.

Mon Jun  9 21:25:13 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size):
	check if width is !null, not *width. Doh.
This commit is contained in:
Kristian Rietveld
2003-06-09 19:26:32 +00:00
committed by Kristian Rietveld
parent 7ac4f264a7
commit 02c32756ef
6 changed files with 26 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
Mon Jun 9 21:25:13 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size):
check if width is !null, not *width. Doh.
Mon Jun 9 21:01:16 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):

View File

@@ -1,3 +1,8 @@
Mon Jun 9 21:25:13 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size):
check if width is !null, not *width. Doh.
Mon Jun 9 21:01:16 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):

View File

@@ -1,3 +1,8 @@
Mon Jun 9 21:25:13 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size):
check if width is !null, not *width. Doh.
Mon Jun 9 21:01:16 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):

View File

@@ -1,3 +1,8 @@
Mon Jun 9 21:25:13 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size):
check if width is !null, not *width. Doh.
Mon Jun 9 21:01:16 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):

View File

@@ -1,3 +1,8 @@
Mon Jun 9 21:25:13 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size):
check if width is !null, not *width. Doh.
Mon Jun 9 21:01:16 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):

View File

@@ -2361,7 +2361,7 @@ gtk_tree_view_column_cell_get_size (GtkTreeViewColumn *tree_column,
if (visible == FALSE)
continue;
if (first_cell == FALSE && *width)
if (first_cell == FALSE && width)
*width += tree_column->spacing;
gtk_cell_renderer_get_size (info->cell,