aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-26 20:24:35 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-26 20:24:35 +0800
commite4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed (patch)
tree69946f3b8fb0c7cf1a0b73bec4b646a9996e5821 /calendar/gui/e-cal-model.c
parent1868c9e675073dfa824dc12e1c2fa3cc1929f70b (diff)
downloadgsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar
gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar.gz
gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar.bz2
gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar.lz
gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar.xz
gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar.zst
gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.zip
Fix compiler warnings in calendar.
Diffstat (limited to 'calendar/gui/e-cal-model.c')
-rw-r--r--calendar/gui/e-cal-model.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index 20306b7128..736f6a8b56 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -317,16 +317,16 @@ ecm_row_count (ETableModel *etm)
return priv->objects->len;
}
-static char *
+static void *
get_categories (ECalModelComponent *comp_data)
{
icalproperty *prop;
prop = icalcomponent_get_first_property (comp_data->icalcomp, ICAL_CATEGORIES_PROPERTY);
if (prop)
- return (char *) icalproperty_get_categories (prop);
+ return (void *) icalproperty_get_categories (prop);
- return "";
+ return (void *) "";
}
static char *
@@ -363,7 +363,7 @@ get_color (ECalModel *model, ECalModelComponent *comp_data)
return e_cal_model_get_color_for_component (model, comp_data);
}
-static char *
+static void *
get_description (ECalModelComponent *comp_data)
{
icalproperty *prop;
@@ -384,7 +384,7 @@ get_description (ECalModelComponent *comp_data)
return str->str;
}
- return "";
+ return (void *) "";
}
static ECellDateEditValue*
@@ -472,16 +472,16 @@ get_datetime_from_utc (ECalModel *model, ECalModelComponent *comp_data, icalprop
return res;
}
-static char *
+static void *
get_summary (ECalModelComponent *comp_data)
{
icalproperty *prop;
prop = icalcomponent_get_first_property (comp_data->icalcomp, ICAL_SUMMARY_PROPERTY);
if (prop)
- return (char *) icalproperty_get_summary (prop);
+ return (void *) icalproperty_get_summary (prop);
- return "";
+ return (void *) "";
}
static char *
@@ -579,7 +579,7 @@ ecm_value_at (ETableModel *etm, int col, int row)
return get_uid (comp_data);
}
- return "";
+ return (void *) "";
}
static void