diff options
-rw-r--r-- | libempathy-gtk/empathy-cell-renderer-expander.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/libempathy-gtk/empathy-cell-renderer-expander.c b/libempathy-gtk/empathy-cell-renderer-expander.c index 8e363aa8a..d6fa87748 100644 --- a/libempathy-gtk/empathy-cell-renderer-expander.c +++ b/libempathy-gtk/empathy-cell-renderer-expander.c @@ -336,14 +336,12 @@ empathy_cell_renderer_expander_render (GtkCellRenderer *cell, "ypad", &ypad, NULL); - gtk_paint_expander (gtk_widget_get_style (widget), - cr, - GTK_STATE_NORMAL, - widget, - "treeview", - cell_area->x + x_offset + xpad + priv->expander_size / 2, - cell_area->y + y_offset + ypad + priv->expander_size / 2, - expander_style); + gtk_render_expander (gtk_widget_get_style_context (widget), + cr, + cell_area->x + x_offset + xpad, + cell_area->y + y_offset + ypad, + priv->expander_size, + priv->expander_size); } static void |