From ee669a1b519ad3054e5fbc4ed7a37ea2ecc41b08 Mon Sep 17 00:00:00 2001 From: Rui Matos Date: Fri, 16 Dec 2011 23:04:49 +0000 Subject: cellview: Stop checking for sensitivity on draw This is needless since GtkCellRenderer does it consistently before rendering. --- gtk/gtkcellview.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c index 3299eb2afd..4a86a931a2 100644 --- a/gtk/gtkcellview.c +++ b/gtk/gtkcellview.c @@ -790,8 +790,6 @@ gtk_cell_view_draw (GtkWidget *widget, if (gtk_widget_get_state_flags (widget) & GTK_STATE_FLAG_PRELIGHT) state = GTK_CELL_RENDERER_PRELIT; - else if (gtk_widget_get_state_flags (widget) & GTK_STATE_FLAG_INSENSITIVE) - state = GTK_CELL_RENDERER_INSENSITIVE; else state = 0; -- cgit v1.2.1