aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-config.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-09 01:24:42 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:11 +0800
commit54da4fc09cf226fdb59b9f0c70555e2e57dc1f91 (patch)
treec62c9ac6d08670dffc400ff00117508512ce4f8b /calendar/gui/e-cal-config.c
parentfe20f70779fb486169a0735499d24e001ffa0cab (diff)
downloadgsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.gz
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.zst
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.zip
Coding style cleanups.
Diffstat (limited to 'calendar/gui/e-cal-config.c')
-rw-r--r--calendar/gui/e-cal-config.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/calendar/gui/e-cal-config.c b/calendar/gui/e-cal-config.c
index 980701e9be..e1204f39b7 100644
--- a/calendar/gui/e-cal-config.c
+++ b/calendar/gui/e-cal-config.c
@@ -48,7 +48,7 @@ ecp_target_free (EConfig *ec, EConfigTarget *t)
if (ec->target == t) {
switch (t->type) {
case EC_CONFIG_TARGET_SOURCE: {
- ECalConfigTargetSource *s = (ECalConfigTargetSource *)t;
+ ECalConfigTargetSource *s = (ECalConfigTargetSource *) t;
if (p->source_changed_id) {
g_signal_handler_disconnect (s->source, p->source_changed_id);
@@ -62,12 +62,12 @@ ecp_target_free (EConfig *ec, EConfigTarget *t)
switch (t->type) {
case EC_CONFIG_TARGET_SOURCE: {
- ECalConfigTargetSource *s = (ECalConfigTargetSource *)t;
+ ECalConfigTargetSource *s = (ECalConfigTargetSource *) t;
if (s->source)
g_object_unref (s->source);
break; }
case EC_CONFIG_TARGET_PREFS: {
- ECalConfigTargetPrefs *s = (ECalConfigTargetPrefs *)t;
+ ECalConfigTargetPrefs *s = (ECalConfigTargetPrefs *) t;
if (s->gconf)
g_object_unref (s->gconf);
break; }
@@ -87,12 +87,12 @@ ecp_set_target (EConfig *ec, EConfigTarget *t)
{
struct _ECalConfigPrivate *p = E_CAL_CONFIG (ec)->priv;
- ((EConfigClass *)ecp_parent_class)->set_target (ec, t);
+ ((EConfigClass *) ecp_parent_class)->set_target (ec, t);
if (t) {
switch (t->type) {
case EC_CONFIG_TARGET_SOURCE: {
- ECalConfigTargetSource *s = (ECalConfigTargetSource *)t;
+ ECalConfigTargetSource *s = (ECalConfigTargetSource *) t;
p->source_changed_id = g_signal_connect (s->source, "changed", G_CALLBACK (ecp_source_changed), ec);
break; }
@@ -106,8 +106,8 @@ ecp_set_target (EConfig *ec, EConfigTarget *t)
static void
ecp_class_init (GObjectClass *klass)
{
- ((EConfigClass *)klass)->set_target = ecp_set_target;
- ((EConfigClass *)klass)->target_free = ecp_target_free;
+ ((EConfigClass *) klass)->set_target = ecp_set_target;
+ ((EConfigClass *) klass)->target_free = ecp_target_free;
g_type_class_add_private (klass, sizeof (struct _ECalConfigPrivate));
}