[evolution-data-server] Fix minor compiler warnings
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Fix minor compiler warnings
- Date: Wed, 26 Jan 2011 16:51:16 +0000 (UTC)
commit 21ee866f051b9ee3734592c85872d0e26ba13a55
Author: Milan Crha <mcrha redhat com>
Date: Tue Dec 14 14:44:21 2010 +0100
Fix minor compiler warnings
libedataserverui/e-cell-renderer-color.c | 6 +++---
libedataserverui/e-source-selector.c | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libedataserverui/e-cell-renderer-color.c b/libedataserverui/e-cell-renderer-color.c
index 93d51cf..70c341c 100644
--- a/libedataserverui/e-cell-renderer-color.c
+++ b/libedataserverui/e-cell-renderer-color.c
@@ -47,7 +47,7 @@ G_DEFINE_TYPE (ECellRendererColor, e_cell_renderer_color, GTK_TYPE_CELL_RENDERER
static void
cell_renderer_color_get_size (GtkCellRenderer *cell,
GtkWidget *widget,
- GdkRectangle *cell_area,
+ const GdkRectangle *cell_area,
gint *x_offset,
gint *y_offset,
gint *width,
@@ -98,8 +98,8 @@ static void
cell_renderer_color_render (GtkCellRenderer *cell,
cairo_t *cr,
GtkWidget *widget,
- GdkRectangle *background_area,
- GdkRectangle *cell_area,
+ const GdkRectangle *background_area,
+ const GdkRectangle *cell_area,
GtkCellRendererState flags)
{
ECellRendererColorPrivate *priv;
diff --git a/libedataserverui/e-source-selector.c b/libedataserverui/e-source-selector.c
index f0fb5a5..14d928f 100644
--- a/libedataserverui/e-source-selector.c
+++ b/libedataserverui/e-source-selector.c
@@ -93,8 +93,8 @@ safe_toggle_activate (GtkCellRenderer *cell,
GdkEvent *event,
GtkWidget *widget,
const gchar *path,
- GdkRectangle *background_area,
- GdkRectangle *cell_area,
+ const GdkRectangle *background_area,
+ const GdkRectangle *cell_area,
GtkCellRendererState flags)
{
if (event->type == GDK_BUTTON_PRESS && cell_area) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]