diff options
-rw-r--r-- | libempathy-gtk/empathy-cell-renderer-activatable.c | 4 | ||||
-rw-r--r-- | libempathy-gtk/empathy-cell-renderer-expander.c | 26 | ||||
-rw-r--r-- | libempathy-gtk/empathy-cell-renderer-text.c | 16 |
3 files changed, 23 insertions, 23 deletions
diff --git a/libempathy-gtk/empathy-cell-renderer-activatable.c b/libempathy-gtk/empathy-cell-renderer-activatable.c index d24f1782c..9c1a6e53b 100644 --- a/libempathy-gtk/empathy-cell-renderer-activatable.c +++ b/libempathy-gtk/empathy-cell-renderer-activatable.c @@ -112,8 +112,8 @@ cell_renderer_activatable_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) { EmpathyCellRendererActivatable *activatable; 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; diff --git a/libempathy-gtk/empathy-cell-renderer-text.c b/libempathy-gtk/empathy-cell-renderer-text.c index 321b71028..d64af0d6d 100644 --- a/libempathy-gtk/empathy-cell-renderer-text.c +++ b/libempathy-gtk/empathy-cell-renderer-text.c @@ -52,7 +52,7 @@ static void cell_renderer_text_set_property (GObject *o GParamSpec *pspec); static void cell_renderer_text_get_size (GtkCellRenderer *cell, GtkWidget *widget, - GdkRectangle *cell_area, + const GdkRectangle *cell_area, gint *x_offset, gint *y_offset, gint *width, @@ -240,13 +240,13 @@ cell_renderer_text_set_property (GObject *object, } static void -cell_renderer_text_get_size (GtkCellRenderer *cell, - GtkWidget *widget, - GdkRectangle *cell_area, - gint *x_offset, - gint *y_offset, - gint *width, - gint *height) +cell_renderer_text_get_size (GtkCellRenderer *cell, + GtkWidget *widget, + const GdkRectangle *cell_area, + gint *x_offset, + gint *y_offset, + gint *width, + gint *height) { EmpathyCellRendererText *celltext; EmpathyCellRendererTextPriv *priv; |