diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-03-03 05:31:36 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-03-03 22:02:34 +0800 |
commit | a8fc75d4f3442509032baa258523626301e117c7 (patch) | |
tree | 067995f70805c65eeb1782de8653714112e11aaf /libemail-utils/em-vfolder-context.c | |
parent | afcac1919e65accb87deddca43fc5f840af5bdd6 (diff) | |
download | gsoc2013-evolution-a8fc75d4f3442509032baa258523626301e117c7.tar gsoc2013-evolution-a8fc75d4f3442509032baa258523626301e117c7.tar.gz gsoc2013-evolution-a8fc75d4f3442509032baa258523626301e117c7.tar.bz2 gsoc2013-evolution-a8fc75d4f3442509032baa258523626301e117c7.tar.lz gsoc2013-evolution-a8fc75d4f3442509032baa258523626301e117c7.tar.xz gsoc2013-evolution-a8fc75d4f3442509032baa258523626301e117c7.tar.zst gsoc2013-evolution-a8fc75d4f3442509032baa258523626301e117c7.zip |
Fix some "unused-but-set-variable" warnings.
Diffstat (limited to 'libemail-utils/em-vfolder-context.c')
-rw-r--r-- | libemail-utils/em-vfolder-context.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libemail-utils/em-vfolder-context.c b/libemail-utils/em-vfolder-context.c index 647ded888c..9270514766 100644 --- a/libemail-utils/em-vfolder-context.c +++ b/libemail-utils/em-vfolder-context.c @@ -53,25 +53,10 @@ G_DEFINE_TYPE ( em_vfolder_context, E_TYPE_RULE_CONTEXT) -static void -vfolder_context_dispose (GObject *object) -{ - EMVFolderContextPrivate *priv; - - priv = EM_VFOLDER_CONTEXT_GET_PRIVATE (object); - - /* Chain up to parent's dispose() method. */ - G_OBJECT_CLASS (em_vfolder_context_parent_class)->dispose (object); -} - static EFilterElement * vfolder_context_new_element (ERuleContext *context, const gchar *type) { - EMVFolderContextPrivate *priv; - - priv = EM_VFOLDER_CONTEXT_GET_PRIVATE (context); - if (strcmp (type, "system-flag") == 0) return e_filter_option_new (); @@ -92,14 +77,10 @@ vfolder_context_new_element (ERuleContext *context, static void em_vfolder_context_class_init (EMVFolderContextClass *class) { - GObjectClass *object_class; ERuleContextClass *rule_context_class; g_type_class_add_private (class, sizeof (EMVFolderContextPrivate)); - object_class = G_OBJECT_CLASS (class); - object_class->dispose = vfolder_context_dispose; - rule_context_class = E_RULE_CONTEXT_CLASS (class); rule_context_class->new_element = vfolder_context_new_element; } |