aboutsummaryrefslogtreecommitdiffstats
path: root/filter/rule-context.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-02 07:09:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-02 22:35:03 +0800
commit433eac7844481b8ceda0bae8bf08f6bb623185b0 (patch)
treed66a04ad4fa676b4bfce762dee09a82f4434d374 /filter/rule-context.c
parente6c6cbdfb5fd5723ff840b24b29690235be0d74d (diff)
downloadgsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.gz
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.zst
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.zip
More code cleanup.
Diffstat (limited to 'filter/rule-context.c')
-rw-r--r--filter/rule-context.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/filter/rule-context.c b/filter/rule-context.c
index e9dc71a150..5f00adff71 100644
--- a/filter/rule-context.c
+++ b/filter/rule-context.c
@@ -295,7 +295,7 @@ rule_context_load(RuleContext *rc, const gchar *system, const gchar *user)
return res;
}
-static int
+static gint
load(RuleContext *rc, const gchar *system, const gchar *user)
{
xmlNodePtr set, rule, root;
@@ -422,7 +422,7 @@ rule_context_save(RuleContext *rc, const gchar *user)
return RULE_CONTEXT_GET_CLASS(rc)->save(rc, user);
}
-static int
+static gint
save(RuleContext *rc, const gchar *user)
{
xmlDocPtr doc;
@@ -507,14 +507,14 @@ source_hashf(const gchar *a)
return 0;
}
-static int
+static gint
source_eqf(const gchar *a, const gchar *b)
{
return((a && b && strcmp(a, b) == 0))
|| (a == NULL && b == NULL);
}
-static int
+static gint
revert(RuleContext *rc, const gchar *user)
{
xmlNodePtr set, rule;