diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-11-10 11:40:00 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-11-11 04:54:43 +0800 |
commit | 2c4ae5e7685c462f8d464448e4617b8dea029e72 (patch) | |
tree | c34f0cbb7c500ff70f10fce846631b0a948b341c /modules/spamassassin | |
parent | 583da46b8caf4b2a8b548b03c38fe0e84164abfb (diff) | |
download | gsoc2013-evolution-2c4ae5e7685c462f8d464448e4617b8dea029e72.tar gsoc2013-evolution-2c4ae5e7685c462f8d464448e4617b8dea029e72.tar.gz gsoc2013-evolution-2c4ae5e7685c462f8d464448e4617b8dea029e72.tar.bz2 gsoc2013-evolution-2c4ae5e7685c462f8d464448e4617b8dea029e72.tar.lz gsoc2013-evolution-2c4ae5e7685c462f8d464448e4617b8dea029e72.tar.xz gsoc2013-evolution-2c4ae5e7685c462f8d464448e4617b8dea029e72.tar.zst gsoc2013-evolution-2c4ae5e7685c462f8d464448e4617b8dea029e72.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'modules/spamassassin')
-rw-r--r-- | modules/spamassassin/evolution-spamassassin.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/spamassassin/evolution-spamassassin.c b/modules/spamassassin/evolution-spamassassin.c index 6a8affab83..2202f71003 100644 --- a/modules/spamassassin/evolution-spamassassin.c +++ b/modules/spamassassin/evolution-spamassassin.c @@ -334,7 +334,7 @@ static void spam_assassin_set_local_only (ESpamAssassin *extension, gboolean local_only) { - if ((extension->local_only ? 1 : 0) == (local_only ? 1 : 0)) + if (extension->local_only == local_only) return; extension->local_only = local_only; @@ -1090,16 +1090,16 @@ e_spam_assassin_init (ESpamAssassin *extension) g_settings_bind ( settings, "local-only", - G_OBJECT (extension), "local-only", + extension, "local-only", G_SETTINGS_BIND_DEFAULT); g_settings_bind ( settings, "socket-path", - G_OBJECT (extension), "socket-path", + extension, "socket-path", G_SETTINGS_BIND_DEFAULT); #ifdef HAVE_SPAM_DAEMON g_settings_bind ( settings, "use-daemon", - G_OBJECT (extension), "use-daemon", + extension, "use-daemon", G_SETTINGS_BIND_DEFAULT); #endif /* HAVE_SPAM_DAEMON */ |