aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-09-29 22:03:48 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-10-04 16:41:29 +0800
commit5a5b01af718f2db74fb131b1fa6d3cc14ad88793 (patch)
treeeaf70b54a685175c4ca9cd152f1f731daa5c8cba
parentcce96b15f7ee09f7666d6b2e081ad8bddc197d3c (diff)
downloadgsoc2013-empathy-5a5b01af718f2db74fb131b1fa6d3cc14ad88793.tar
gsoc2013-empathy-5a5b01af718f2db74fb131b1fa6d3cc14ad88793.tar.gz
gsoc2013-empathy-5a5b01af718f2db74fb131b1fa6d3cc14ad88793.tar.bz2
gsoc2013-empathy-5a5b01af718f2db74fb131b1fa6d3cc14ad88793.tar.lz
gsoc2013-empathy-5a5b01af718f2db74fb131b1fa6d3cc14ad88793.tar.xz
gsoc2013-empathy-5a5b01af718f2db74fb131b1fa6d3cc14ad88793.tar.zst
gsoc2013-empathy-5a5b01af718f2db74fb131b1fa6d3cc14ad88793.zip
cell_renderer_text_render: update to new API
-rw-r--r--libempathy-gtk/empathy-cell-renderer-text.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/libempathy-gtk/empathy-cell-renderer-text.c b/libempathy-gtk/empathy-cell-renderer-text.c
index eb4ccb073..321b71028 100644
--- a/libempathy-gtk/empathy-cell-renderer-text.c
+++ b/libempathy-gtk/empathy-cell-renderer-text.c
@@ -58,11 +58,10 @@ static void cell_renderer_text_get_size (GtkCellRenderer *c
gint *width,
gint *height);
static void cell_renderer_text_render (GtkCellRenderer *cell,
- GdkDrawable *window,
+ cairo_t *cr,
GtkWidget *widget,
- GdkRectangle *background_area,
- GdkRectangle *cell_area,
- GdkRectangle *expose_area,
+ const GdkRectangle *background_area,
+ const GdkRectangle *cell_area,
GtkCellRendererState flags);
static void cell_renderer_text_update_text (EmpathyCellRendererText *cell,
GtkWidget *widget,
@@ -266,11 +265,10 @@ cell_renderer_text_get_size (GtkCellRenderer *cell,
static void
cell_renderer_text_render (GtkCellRenderer *cell,
- GdkWindow *window,
+ cairo_t *cr,
GtkWidget *widget,
- GdkRectangle *background_area,
- GdkRectangle *cell_area,
- GdkRectangle *expose_area,
+ const GdkRectangle *background_area,
+ const GdkRectangle *cell_area,
GtkCellRendererState flags)
{
EmpathyCellRendererText *celltext;
@@ -282,11 +280,11 @@ cell_renderer_text_render (GtkCellRenderer *cell,
(flags & GTK_CELL_RENDERER_SELECTED));
(GTK_CELL_RENDERER_CLASS (empathy_cell_renderer_text_parent_class)->render) (
- cell, window,
+ cell, cr,
widget,
background_area,
cell_area,
- expose_area, flags);
+ flags);
}
static void