aboutsummaryrefslogtreecommitdiffstats
path: root/filter/rule-context.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-11-26 19:25:51 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-11-26 19:25:51 +0800
commit93723877699c0a64fd25d8dcb11289359710bc6e (patch)
treee89cc76be1d472f2ca763140db6b8c75baa6c1c3 /filter/rule-context.c
parentfb5e3d7237caed2397643f7e3d1e89572567bc64 (diff)
downloadgsoc2013-evolution-93723877699c0a64fd25d8dcb11289359710bc6e.tar
gsoc2013-evolution-93723877699c0a64fd25d8dcb11289359710bc6e.tar.gz
gsoc2013-evolution-93723877699c0a64fd25d8dcb11289359710bc6e.tar.bz2
gsoc2013-evolution-93723877699c0a64fd25d8dcb11289359710bc6e.tar.lz
gsoc2013-evolution-93723877699c0a64fd25d8dcb11289359710bc6e.tar.xz
gsoc2013-evolution-93723877699c0a64fd25d8dcb11289359710bc6e.tar.zst
gsoc2013-evolution-93723877699c0a64fd25d8dcb11289359710bc6e.zip
FILTER_RULE_CLASS -> _GET_CLASS
2002-11-26 Not Zed <NotZed@Ximian.com> * filter-rule.c (filter_rule_validate): FILTER_RULE_CLASS -> _GET_CLASS * rule-context.c (rule_context_save): RULE_CONTEXT_CLASS -> RULE_CONTEXT_GET_CLASS (rule_context_revert): " * *.[ch]: Ran fix.sh over all files. * rule-editor.c (rule_add): widget:set_parent -> window:set_transient_for (editor_response): renamed from editor_clicked, handle gtk dialog response codes. (rule_edit): connect to response rather than clicked. (rule_editor_construct): Setup a text column in the tree view. Not sure if this can be handled via glade. svn path=/trunk/; revision=18922
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);