diff options
author | Travis Reitter <travis.reitter@collabora.co.uk> | 2010-10-05 02:48:38 +0800 |
---|---|---|
committer | Travis Reitter <travis.reitter@collabora.co.uk> | 2010-10-05 07:39:22 +0800 |
commit | c772ac27197ef0440c81bc45496fa78875004da5 (patch) | |
tree | a5b90ff7124a9f02ff1e8fed136ea9f3527cc8fa /libempathy-gtk | |
parent | 1594b24862967f7d0046c8d4328b11a0b2b45330 (diff) | |
download | gsoc2013-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')
-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; |