[gtk+/wip/unfocused-fixes: 13/13] cellview: Stop checking for sensitivity on draw
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/unfocused-fixes: 13/13] cellview: Stop checking for sensitivity on draw
- Date: Sat, 17 Dec 2011 17:22:08 +0000 (UTC)
commit 4fde0ea7f88e361a777b4b8af3cc3908969fbdff
Author: Rui Matos <tiagomatos gmail com>
Date: Fri Dec 16 23:04:49 2011 +0000
cellview: Stop checking for sensitivity on draw
This is needless since GtkCellRenderer does it consistently before rendering.
gtk/gtkcellview.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c
index 3299eb2..4a86a93 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]