aboutsummaryrefslogtreecommitdiffstats
path: root/modules/spamassassin/evolution-spamassassin.c
diff options
context:
space:
mode:
authorTarnyko <tarnyko@tarnyko.net>2014-02-26 23:15:21 +0800
committerMilan Crha <mcrha@redhat.com>2014-02-26 23:15:21 +0800
commit5c60d57082ede522169b65efa67a1e268989b487 (patch)
treeb77a62c5fbee1719f7216f7135c068ca081c9c77 /modules/spamassassin/evolution-spamassassin.c
parent5727d74fb54a1c76922099d023a182418c3bac70 (diff)
downloadgsoc2013-evolution-5c60d57082ede522169b65efa67a1e268989b487.tar.gz
gsoc2013-evolution-5c60d57082ede522169b65efa67a1e268989b487.tar.zst
gsoc2013-evolution-5c60d57082ede522169b65efa67a1e268989b487.zip
Replace 'interface' with 'iface' in the code
Win32 headers have a #define for 'interface', which breaks the build when this word is used in the code, thus replace it to 'iface', the same way as GLib or GTK+ code use to have it. (See bug #722068.)
Diffstat (limited to 'modules/spamassassin/evolution-spamassassin.c')
-rw-r--r--modules/spamassassin/evolution-spamassassin.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/spamassassin/evolution-spamassassin.c b/modules/spamassassin/evolution-spamassassin.c
index 858d78eadb..868d056e80 100644
--- a/modules/spamassassin/evolution-spamassassin.c
+++ b/modules/spamassassin/evolution-spamassassin.c
@@ -61,7 +61,7 @@ void e_module_unload (GTypeModule *type_module);
/* Forward Declarations */
GType e_spam_assassin_get_type (void);
-static void e_spam_assassin_interface_init (CamelJunkFilterInterface *interface);
+static void e_spam_assassin_interface_init (CamelJunkFilterInterface *iface);
G_DEFINE_DYNAMIC_TYPE_EXTENDED (
ESpamAssassin,
@@ -575,12 +575,12 @@ e_spam_assassin_class_finalize (ESpamAssassinClass *class)
}
static void
-e_spam_assassin_interface_init (CamelJunkFilterInterface *interface)
+e_spam_assassin_interface_init (CamelJunkFilterInterface *iface)
{
- interface->classify = spam_assassin_classify;
- interface->learn_junk = spam_assassin_learn_junk;
- interface->learn_not_junk = spam_assassin_learn_not_junk;
- interface->synchronize = spam_assassin_synchronize;
+ iface->classify = spam_assassin_classify;
+ iface->learn_junk = spam_assassin_learn_junk;
+ iface->learn_not_junk = spam_assassin_learn_not_junk;
+ iface->synchronize = spam_assassin_synchronize;
}
static void