diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-09-29 21:57:57 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-10-04 16:41:29 +0800 |
commit | 8fda16b2e760ca46315aa6b9ef7434e741940a92 (patch) | |
tree | 5695cc0371fa1a415e76ed3a41bc2eaa878da8b2 | |
parent | e7e4a5c52a92f3d0b328b7a66b14063d9ef96fa8 (diff) | |
download | gsoc2013-empathy-8fda16b2e760ca46315aa6b9ef7434e741940a92.tar gsoc2013-empathy-8fda16b2e760ca46315aa6b9ef7434e741940a92.tar.gz gsoc2013-empathy-8fda16b2e760ca46315aa6b9ef7434e741940a92.tar.bz2 gsoc2013-empathy-8fda16b2e760ca46315aa6b9ef7434e741940a92.tar.lz gsoc2013-empathy-8fda16b2e760ca46315aa6b9ef7434e741940a92.tar.xz gsoc2013-empathy-8fda16b2e760ca46315aa6b9ef7434e741940a92.tar.zst gsoc2013-empathy-8fda16b2e760ca46315aa6b9ef7434e741940a92.zip |
cell_renderer_activatable_render: update to new API
-rw-r--r-- | libempathy-gtk/empathy-cell-renderer-activatable.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/libempathy-gtk/empathy-cell-renderer-activatable.c b/libempathy-gtk/empathy-cell-renderer-activatable.c index 6aedb0306..d24f1782c 100644 --- a/libempathy-gtk/empathy-cell-renderer-activatable.c +++ b/libempathy-gtk/empathy-cell-renderer-activatable.c @@ -145,13 +145,12 @@ cell_renderer_activatable_activate (GtkCellRenderer *cell, static void cell_renderer_activatable_render ( - GtkCellRenderer *cell, - GdkWindow *window, - GtkWidget *widget, - GdkRectangle *background_area, - GdkRectangle *cell_area, - GdkRectangle *expose_area, - GtkCellRendererState flags) + GtkCellRenderer *cell, + cairo_t *cr, + GtkWidget *widget, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, + GtkCellRendererState flags) { EmpathyCellRendererActivatablePriv *priv = GET_PRIV (cell); @@ -160,7 +159,7 @@ cell_renderer_activatable_render ( GTK_CELL_RENDERER_CLASS (empathy_cell_renderer_activatable_parent_class)->render ( - cell, window, widget, background_area, cell_area, expose_area, flags); + cell, cr, widget, background_area, cell_area, flags); } static void |