| 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; |