aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bogofilter/evolution-bogofilter.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/bogofilter/evolution-bogofilter.c
parent5727d74fb54a1c76922099d023a182418c3bac70 (diff)
downloadgsoc2013-evolution-5c60d57082ede522169b65efa67a1e268989b487.tar
gsoc2013-evolution-5c60d57082ede522169b65efa67a1e268989b487.tar.gz
gsoc2013-evolution-5c60d57082ede522169b65efa67a1e268989b487.tar.bz2
gsoc2013-evolution-5c60d57082ede522169b65efa67a1e268989b487.tar.lz
gsoc2013-evolution-5c60d57082ede522169b65efa67a1e268989b487.tar.xz
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/bogofilter/evolution-bogofilter.c')
-rw-r--r--modules/bogofilter/evolution-bogofilter.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/bogofilter/evolution-bogofilter.c b/modules/bogofilter/evolution-bogofilter.c
index 7cc39213e0..4b061b6526 100644
--- a/modules/bogofilter/evolution-bogofilter.c
+++ b/modules/bogofilter/evolution-bogofilter.c
@@ -63,7 +63,7 @@ void e_module_unload (GTypeModule *type_module);
/* Forward Declarations */
GType e_bogofilter_get_type (void);
-static void e_bogofilter_interface_init (CamelJunkFilterInterface *interface);
+static void e_bogofilter_interface_init (CamelJunkFilterInterface *iface);
G_DEFINE_DYNAMIC_TYPE_EXTENDED (
EBogofilter,
@@ -490,11 +490,11 @@ e_bogofilter_class_finalize (EBogofilterClass *class)
}
static void
-e_bogofilter_interface_init (CamelJunkFilterInterface *interface)
+e_bogofilter_interface_init (CamelJunkFilterInterface *iface)
{
- interface->classify = bogofilter_classify;
- interface->learn_junk = bogofilter_learn_junk;
- interface->learn_not_junk = bogofilter_learn_not_junk;
+ iface->classify = bogofilter_classify;
+ iface->learn_junk = bogofilter_learn_junk;
+ iface->learn_not_junk = bogofilter_learn_not_junk;
}
static void