aboutsummaryrefslogtreecommitdiffstats
path: root/filter/rule-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'filter/rule-context.c')
-rw-r--r--filter/rule-context.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/rule-context.c b/filter/rule-context.c
index fe23831807..bed9045ddb 100644
--- a/filter/rule-context.c
+++ b/filter/rule-context.c
@@ -384,7 +384,7 @@ rule_context_save (RuleContext *rc, const char *user)
g_assert(rc);
g_assert(user);
- return RULE_CONTEXT_CLASS (rc)->save (rc, user);
+ return RULE_CONTEXT_GET_CLASS (rc)->save (rc, user);
}
static int
@@ -441,7 +441,7 @@ rule_context_revert(RuleContext *rc, const char *user)
d(printf("rule_context: restoring %s %s\n", user));
- return RULE_CONTEXT_CLASS (rc)->revert (rc, user);
+ return RULE_CONTEXT_GET_CLASS (rc)->revert (rc, user);
}
struct _revert_data {
@@ -693,7 +693,7 @@ rule_context_add_rule_gui (RuleContext *rc, FilterRule *rule, const char *title,
if (path)
g_object_set_data_full ((GObject *) dialog, "path", g_strdup (path), g_free);
- g_signal_connect (dialog, "response", GTK_SIGNAL_FUNC (new_rule_response), rc);
+ g_signal_connect (dialog, "response", G_CALLBACK (new_rule_response), rc);
g_object_ref (rc);