aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-cell-renderer-expander.c
diff options
context:
space:
mode:
authorTravis Reitter <travis.reitter@collabora.co.uk>2010-10-05 02:48:38 +0800
committerTravis Reitter <travis.reitter@collabora.co.uk>2010-10-05 07:39:22 +0800
commitc772ac27197ef0440c81bc45496fa78875004da5 (patch)
treea5b90ff7124a9f02ff1e8fed136ea9f3527cc8fa /libempathy-gtk/empathy-cell-renderer-expander.c
parent1594b24862967f7d0046c8d4328b11a0b2b45330 (diff)
downloadgsoc2013-empathy-c772ac27197ef0440c81bc45496fa78875004da5.tar
gsoc2013-empathy-c772ac27197ef0440c81bc45496fa78875004da5.tar.gz
gsoc2013-empathy-c772ac27197ef0440c81bc45496fa78875004da5.tar.bz2
gsoc2013-empathy-c772ac27197ef0440c81bc45496fa78875004da5.tar.lz
gsoc2013-empathy-c772ac27197ef0440c81bc45496fa78875004da5.tar.xz
gsoc2013-empathy-c772ac27197ef0440c81bc45496fa78875004da5.tar.zst
gsoc2013-empathy-c772ac27197ef0440c81bc45496fa78875004da5.zip
Update for changes to GTK 3 API.
Diffstat (limited to 'libempathy-gtk/empathy-cell-renderer-expander.c')
-rw-r--r--libempathy-gtk/empathy-cell-renderer-expander.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/libempathy-gtk/empathy-cell-renderer-expander.c b/libempathy-gtk/empathy-cell-renderer-expander.c
index d9067e06d..8e363aa8a 100644
--- a/libempathy-gtk/empathy-cell-renderer-expander.c
+++ b/libempathy-gtk/empathy-cell-renderer-expander.c
@@ -67,7 +67,7 @@ static void empathy_cell_renderer_expander_set_property (GObject
static void empathy_cell_renderer_expander_finalize (GObject *object);
static void empathy_cell_renderer_expander_get_size (GtkCellRenderer *cell,
GtkWidget *widget,
- GdkRectangle *cell_area,
+ const GdkRectangle *cell_area,
gint *x_offset,
gint *y_offset,
gint *width,
@@ -82,8 +82,8 @@ static gboolean empathy_cell_renderer_expander_activate (GtkCellRenderer
GdkEvent *event,
GtkWidget *widget,
const gchar *path,
- GdkRectangle *background_area,
- GdkRectangle *cell_area,
+ const GdkRectangle *background_area,
+ const GdkRectangle *cell_area,
GtkCellRendererState flags);
G_DEFINE_TYPE (EmpathyCellRendererExpander, empathy_cell_renderer_expander, GTK_TYPE_CELL_RENDERER)
@@ -243,13 +243,13 @@ empathy_cell_renderer_expander_new (void)
}
static void
-empathy_cell_renderer_expander_get_size (GtkCellRenderer *cell,
- GtkWidget *widget,
- GdkRectangle *cell_area,
- gint *x_offset,
- gint *y_offset,
- gint *width,
- gint *height)
+empathy_cell_renderer_expander_get_size (GtkCellRenderer *cell,
+ GtkWidget *widget,
+ const GdkRectangle *cell_area,
+ gint *x_offset,
+ gint *y_offset,
+ gint *width,
+ gint *height)
{
EmpathyCellRendererExpander *expander;
EmpathyCellRendererExpanderPriv *priv;
@@ -422,7 +422,7 @@ empathy_cell_renderer_expander_start_animation (EmpathyCellRendererExpander *exp
GtkTreeView *tree_view,
GtkTreePath *path,
gboolean expanding,
- GdkRectangle *background_area)
+ const GdkRectangle *background_area)
{
EmpathyCellRendererExpanderPriv *priv;
@@ -454,8 +454,8 @@ empathy_cell_renderer_expander_activate (GtkCellRenderer *cell,
GdkEvent *event,
GtkWidget *widget,
const gchar *path_string,
- GdkRectangle *background_area,
- GdkRectangle *cell_area,
+ const GdkRectangle *background_area,
+ const GdkRectangle *cell_area,
GtkCellRendererState flags)
{
EmpathyCellRendererExpander *expander;