aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/eab-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 /addressbook/gui/widgets/eab-config.c
parentfe20f70779fb486169a0735499d24e001ffa0cab (diff)
downloadgsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.gz
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.bz2
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.lz
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.xz
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.zst
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.zip
Coding style cleanups.
Diffstat (limited to 'addressbook/gui/widgets/eab-config.c')
-rw-r--r--addressbook/gui/widgets/eab-config.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/addressbook/gui/widgets/eab-config.c b/addressbook/gui/widgets/eab-config.c
index 218ad80685..dbbb8cefc2 100644
--- a/addressbook/gui/widgets/eab-config.c
+++ b/addressbook/gui/widgets/eab-config.c
@@ -47,7 +47,7 @@ ecp_target_free (EConfig *ec, EConfigTarget *t)
if (ec->target == t) {
switch (t->type) {
case EAB_CONFIG_TARGET_SOURCE: {
- EABConfigTargetSource *s = (EABConfigTargetSource *)t;
+ EABConfigTargetSource *s = (EABConfigTargetSource *) t;
if (p->source_changed_id) {
g_signal_handler_disconnect (s->source, p->source_changed_id);
@@ -59,7 +59,7 @@ ecp_target_free (EConfig *ec, EConfigTarget *t)
switch (t->type) {
case EAB_CONFIG_TARGET_SOURCE: {
- EABConfigTargetSource *s = (EABConfigTargetSource *)t;
+ EABConfigTargetSource *s = (EABConfigTargetSource *) t;
if (s->source)
g_object_unref (s->source);
@@ -80,12 +80,12 @@ ecp_set_target (EConfig *ec, EConfigTarget *t)
{
struct _EABConfigPrivate *p = EAB_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 EAB_CONFIG_TARGET_SOURCE: {
- EABConfigTargetSource *s = (EABConfigTargetSource *)t;
+ EABConfigTargetSource *s = (EABConfigTargetSource *) t;
p->source_changed_id = g_signal_connect (
s->source, "changed",
@@ -98,8 +98,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 _EABConfigPrivate));
}