Don't do anything beyond clearing to the background if there is no active

Sat Mar 13 21:47:47 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcellview.c (gtk_cell_view_expose): Don't do anything
	beyond clearing to the background if there is no active row.
	(#137066, reported by Owen Taylor)
This commit is contained in:
Matthias Clasen 2004-03-13 20:44:14 +00:00 committed by Matthias Clasen
parent 74fd8a025d
commit b1b58fe3df
6 changed files with 35 additions and 3 deletions

View File

@ -1,3 +1,9 @@
Sat Mar 13 21:47:47 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellview.c (gtk_cell_view_expose): Don't do anything
beyond clearing to the background if there is no active row.
(#137066, reported by Owen Taylor)
Sat Mar 13 21:37:44 2004 Matthias Clasen <maclas@gmx.de> Sat Mar 13 21:37:44 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_list_key_press): Pop down the * gtk/gtkcombobox.c (gtk_combo_box_list_key_press): Pop down the

View File

@ -1,3 +1,9 @@
Sat Mar 13 21:47:47 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellview.c (gtk_cell_view_expose): Don't do anything
beyond clearing to the background if there is no active row.
(#137066, reported by Owen Taylor)
Sat Mar 13 21:37:44 2004 Matthias Clasen <maclas@gmx.de> Sat Mar 13 21:37:44 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_list_key_press): Pop down the * gtk/gtkcombobox.c (gtk_combo_box_list_key_press): Pop down the

View File

@ -1,3 +1,9 @@
Sat Mar 13 21:47:47 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellview.c (gtk_cell_view_expose): Don't do anything
beyond clearing to the background if there is no active row.
(#137066, reported by Owen Taylor)
Sat Mar 13 21:37:44 2004 Matthias Clasen <maclas@gmx.de> Sat Mar 13 21:37:44 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_list_key_press): Pop down the * gtk/gtkcombobox.c (gtk_combo_box_list_key_press): Pop down the

View File

@ -1,3 +1,9 @@
Sat Mar 13 21:47:47 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellview.c (gtk_cell_view_expose): Don't do anything
beyond clearing to the background if there is no active row.
(#137066, reported by Owen Taylor)
Sat Mar 13 21:37:44 2004 Matthias Clasen <maclas@gmx.de> Sat Mar 13 21:37:44 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_list_key_press): Pop down the * gtk/gtkcombobox.c (gtk_combo_box_list_key_press): Pop down the

View File

@ -1,3 +1,9 @@
Sat Mar 13 21:47:47 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellview.c (gtk_cell_view_expose): Don't do anything
beyond clearing to the background if there is no active row.
(#137066, reported by Owen Taylor)
Sat Mar 13 21:37:44 2004 Matthias Clasen <maclas@gmx.de> Sat Mar 13 21:37:44 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_list_key_press): Pop down the * gtk/gtkcombobox.c (gtk_combo_box_list_key_press): Pop down the

View File

@ -437,9 +437,11 @@ gtk_cell_view_expose (GtkWidget *widget,
g_object_unref (G_OBJECT (gc)); g_object_unref (G_OBJECT (gc));
} }
/* set cell data (if applicable) */ if (!cellview->priv->displayed_row)
if (cellview->priv->displayed_row) return FALSE;
gtk_cell_view_set_cell_data (cellview);
/* set cell data */
gtk_cell_view_set_cell_data (cellview);
/* render cells */ /* render cells */
area = widget->allocation; area = widget->allocation;