pidgin/gtkcellrendererexpander.c

branch
cpw.qulogic.gtk3
changeset 32398
d192c2933e1d
parent 32397
3db003e082a9
child 32438
dc8991868906
child 33132
24afd2b22579
equal deleted inserted replaced
32397:3db003e082a9 32398:d192c2933e1d
256 return; 256 return;
257 257
258 width = cell_area->width; 258 width = cell_area->width;
259 height = cell_area->height; 259 height = cell_area->height;
260 260
261 if (!gtk_widget_get_sensitive(GTK_WIDGET(cell))) 261 if (!gtk_widget_get_sensitive(widget))
262 state = GTK_STATE_INSENSITIVE; 262 state = GTK_STATE_INSENSITIVE;
263 else if (flags & GTK_CELL_RENDERER_PRELIT) 263 else if (flags & GTK_CELL_RENDERER_PRELIT)
264 state = GTK_STATE_PRELIGHT; 264 state = GTK_STATE_PRELIGHT;
265 else if (gtk_widget_has_focus(widget) && flags & GTK_CELL_RENDERER_SELECTED) 265 else if (gtk_widget_has_focus(widget) && flags & GTK_CELL_RENDERER_SELECTED)
266 state = GTK_STATE_ACTIVE; 266 state = GTK_STATE_ACTIVE;

mercurial