Whoops. Stupid scoping error pointed out by matthiasc@poet.de.

Tue Jul 31 15:34:57 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_remove_column): Whoops.  Stupid
	scoping error pointed out by matthiasc@poet.de.
This commit is contained in:
Jonathan Blandford 2001-07-31 19:55:02 +00:00 committed by Jonathan Blandford
parent bc5273de88
commit 3538aeef43
8 changed files with 40 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Tue Jul 31 15:34:57 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_remove_column): Whoops. Stupid
scoping error pointed out by matthiasc@poet.de.
2001-07-31 Sven Neumann <sven@gimp.org>
* demos/gtk-demo/appwindow.c

View File

@ -1,3 +1,8 @@
Tue Jul 31 15:34:57 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_remove_column): Whoops. Stupid
scoping error pointed out by matthiasc@poet.de.
2001-07-31 Sven Neumann <sven@gimp.org>
* demos/gtk-demo/appwindow.c

View File

@ -1,3 +1,8 @@
Tue Jul 31 15:34:57 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_remove_column): Whoops. Stupid
scoping error pointed out by matthiasc@poet.de.
2001-07-31 Sven Neumann <sven@gimp.org>
* demos/gtk-demo/appwindow.c

View File

@ -1,3 +1,8 @@
Tue Jul 31 15:34:57 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_remove_column): Whoops. Stupid
scoping error pointed out by matthiasc@poet.de.
2001-07-31 Sven Neumann <sven@gimp.org>
* demos/gtk-demo/appwindow.c

View File

@ -1,3 +1,8 @@
Tue Jul 31 15:34:57 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_remove_column): Whoops. Stupid
scoping error pointed out by matthiasc@poet.de.
2001-07-31 Sven Neumann <sven@gimp.org>
* demos/gtk-demo/appwindow.c

View File

@ -1,3 +1,8 @@
Tue Jul 31 15:34:57 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_remove_column): Whoops. Stupid
scoping error pointed out by matthiasc@poet.de.
2001-07-31 Sven Neumann <sven@gimp.org>
* demos/gtk-demo/appwindow.c

View File

@ -1,3 +1,8 @@
Tue Jul 31 15:34:57 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_remove_column): Whoops. Stupid
scoping error pointed out by matthiasc@poet.de.
2001-07-31 Sven Neumann <sven@gimp.org>
* demos/gtk-demo/appwindow.c

View File

@ -6550,9 +6550,11 @@ gtk_tree_view_remove_column (GtkTreeView *tree_view,
_gtk_tree_view_column_unrealize_button (column);
for (list = tree_view->priv->columns; list; list = list->next)
{
column = GTK_TREE_VIEW_COLUMN (list->data);
if (column->visible)
column->dirty = TRUE;
GtkTreeViewColumn *tmp_column;
tmp_column = GTK_TREE_VIEW_COLUMN (list->data);
if (tmp_column->visible)
tmp_column->dirty = TRUE;
}
if (tree_view->priv->n_columns == 0 &&