aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-01-15 23:40:57 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:26 +0800
commit9c3bb90b6b16585c3fbe60304ff7ba942ff01d83 (patch)
tree3a0343ccddec210ee2007259a0db07cfd346f165
parentfd695a3677d41d145709f69eb2f8335df5178098 (diff)
downloadgsoc2013-evolution-9c3bb90b6b16585c3fbe60304ff7ba942ff01d83.tar.gz
gsoc2013-evolution-9c3bb90b6b16585c3fbe60304ff7ba942ff01d83.tar.zst
gsoc2013-evolution-9c3bb90b6b16585c3fbe60304ff7ba942ff01d83.zip
Fix minor compiler warnings
-rw-r--r--calendar/gui/e-select-names-renderer.c2
-rw-r--r--widgets/misc/e-cell-renderer-combo.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/e-select-names-renderer.c b/calendar/gui/e-select-names-renderer.c
index 25c59470f0..6f16d7b2e4 100644
--- a/calendar/gui/e-select-names-renderer.c
+++ b/calendar/gui/e-select-names-renderer.c
@@ -100,7 +100,7 @@ e_select_names_renderer_editing_done (GtkCellEditable *editable, ESelectNamesRen
static GtkCellEditable *
e_select_names_renderer_start_editing (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path,
- GdkRectangle *bg_area, GdkRectangle *cell_area, GtkCellRendererState flags)
+ const GdkRectangle *bg_area, const GdkRectangle *cell_area, GtkCellRendererState flags)
{
ESelectNamesRenderer *sn_cell = E_SELECT_NAMES_RENDERER (cell);
GtkCellRendererText *text_cell = GTK_CELL_RENDERER_TEXT (cell);
diff --git a/widgets/misc/e-cell-renderer-combo.c b/widgets/misc/e-cell-renderer-combo.c
index 9c2c2883b2..ee0e47ddf5 100644
--- a/widgets/misc/e-cell-renderer-combo.c
+++ b/widgets/misc/e-cell-renderer-combo.c
@@ -60,7 +60,7 @@ ecrc_editing_done (GtkCellEditable *editable, ECellRendererCombo *cell)
static GtkCellEditable *
ecrc_start_editing (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path,
- GdkRectangle *bg_area, GdkRectangle *cell_area, GtkCellRendererState flags)
+ const GdkRectangle *bg_area, const GdkRectangle *cell_area, GtkCellRendererState flags)
{
ECellRendererCombo *combo_cell = E_CELL_RENDERER_COMBO (cell);
GtkCellRendererText *text_cell = GTK_CELL_RENDERER_TEXT (cell);
@@ -91,7 +91,7 @@ ecrc_start_editing (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, c
}
static void
-ecrc_get_size (GtkCellRenderer *cell, GtkWidget *widget, GdkRectangle *cell_area,
+ecrc_get_size (GtkCellRenderer *cell, GtkWidget *widget, const GdkRectangle *cell_area,
gint *x_offset, gint *y_offset, gint *width, gint *height)
{
GtkWidget *btn;