changeset 32632:63181cbb941c

avoid illegal gobject cast here
author Marcus Lundblad <ml@update.uu.se>
date Sun, 28 Nov 2010 21:00:42 +0000
parents 067902f81438
children 6487dbfd9b6b
files pidgin/gtkcellrendererexpander.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkcellrendererexpander.c	Sun Nov 28 20:54:02 2010 +0000
+++ b/pidgin/gtkcellrendererexpander.c	Sun Nov 28 21:00:42 2010 +0000
@@ -258,7 +258,7 @@
 	width = cell_area->width;
 	height = cell_area->height;
 
-	if (!gtk_widget_get_sensitive(GTK_WIDGET(cell)))
+	if (!gtk_widget_get_sensitive(widget))
 		state = GTK_STATE_INSENSITIVE;
 	else if (flags & GTK_CELL_RENDERER_PRELIT)
 		state = GTK_STATE_PRELIGHT;