pidgin/gtkcellrendererexpander.c

branch
next.minor
changeset 29500
1e0464dad92b
parent 26727
b8885bab55ab
child 32394
f883709bdba4
child 32913
af2c726febce
equal deleted inserted replaced
29499:08832cbd946b 29500:1e0464dad92b
244 return; 244 return;
245 245
246 width = cell_area->width; 246 width = cell_area->width;
247 height = cell_area->height; 247 height = cell_area->height;
248 248
249 #if GTK_CHECK_VERSION(2,6,0)
250 if (!cell->sensitive) 249 if (!cell->sensitive)
251 state = GTK_STATE_INSENSITIVE; 250 state = GTK_STATE_INSENSITIVE;
252 #else
253 if (GTK_WIDGET_STATE(widget) == GTK_STATE_INSENSITIVE)
254 state = GTK_STATE_INSENSITIVE;
255 #endif
256 else if (flags & GTK_CELL_RENDERER_PRELIT) 251 else if (flags & GTK_CELL_RENDERER_PRELIT)
257 state = GTK_STATE_PRELIGHT; 252 state = GTK_STATE_PRELIGHT;
258 else if (GTK_WIDGET_HAS_FOCUS (widget) && flags & GTK_CELL_RENDERER_SELECTED) 253 else if (GTK_WIDGET_HAS_FOCUS (widget) && flags & GTK_CELL_RENDERER_SELECTED)
259 state = GTK_STATE_ACTIVE; 254 state = GTK_STATE_ACTIVE;
260 else 255 else

mercurial