[evolution/wip/gsettings] Fix minor compiler warnings



commit 9c3bb90b6b16585c3fbe60304ff7ba942ff01d83
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Jan 15 10:40:57 2011 -0500

    Fix minor compiler warnings

 calendar/gui/e-select-names-renderer.c |    2 +-
 widgets/misc/e-cell-renderer-combo.c   |    4 ++--
 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 25c5947..6f16d7b 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 9c2c288..ee0e47d 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]