diff options
author | Rui Matos <tiagomatos@gmail.com> | 2011-12-16 23:04:49 +0000 |
---|---|---|
committer | Rui Matos <tiagomatos@gmail.com> | 2011-12-19 19:21:15 +0000 |
commit | ee669a1b519ad3054e5fbc4ed7a37ea2ecc41b08 (patch) | |
tree | 33e5b043a6a415cc8110e4a360dc4da8e250bdf6 /gtk/gtkcellview.c | |
parent | 70970146ca06b51228996171f130b7c20d39b364 (diff) | |
download | gtk+-ee669a1b519ad3054e5fbc4ed7a37ea2ecc41b08.tar.gz |
cellview: Stop checking for sensitivity on draw
This is needless since GtkCellRenderer does it consistently before rendering.
Diffstat (limited to 'gtk/gtkcellview.c')
-rw-r--r-- | gtk/gtkcellview.c | 2 |
1 files changed, 0 insertions, 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; |