aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-utils
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-03-03 05:31:36 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-03-03 22:02:34 +0800
commita8fc75d4f3442509032baa258523626301e117c7 (patch)
tree067995f70805c65eeb1782de8653714112e11aaf /libemail-utils
parentafcac1919e65accb87deddca43fc5f840af5bdd6 (diff)
downloadgsoc2013-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')
-rw-r--r--libemail-utils/em-filter-folder-element.c12
-rw-r--r--libemail-utils/em-vfolder-context.c19
-rw-r--r--libemail-utils/em-vfolder-rule.c12
3 files changed, 0 insertions, 43 deletions
diff --git a/libemail-utils/em-filter-folder-element.c b/libemail-utils/em-filter-folder-element.c
index 1e286e3e43..26945579cb 100644
--- a/libemail-utils/em-filter-folder-element.c
+++ b/libemail-utils/em-filter-folder-element.c
@@ -50,17 +50,6 @@ G_DEFINE_TYPE (
static void
-filter_folder_element_dispose (GObject *object)
-{
- EMFilterFolderElementPrivate *priv;
-
- priv = EM_FILTER_FOLDER_ELEMENT_GET_PRIVATE (object);
-
- /* Chain up to parent's dispose() method. */
- G_OBJECT_CLASS (em_filter_folder_element_parent_class)->dispose (object);
-}
-
-static void
filter_folder_element_finalize (GObject *object)
{
EMFilterFolderElementPrivate *priv;
@@ -193,7 +182,6 @@ em_filter_folder_element_class_init (EMFilterFolderElementClass *class)
g_type_class_add_private (class, sizeof (EMFilterFolderElementPrivate));
object_class = G_OBJECT_CLASS (class);
- object_class->dispose = filter_folder_element_dispose;
object_class->finalize = filter_folder_element_finalize;
filter_element_class = E_FILTER_ELEMENT_CLASS (class);
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;
}
diff --git a/libemail-utils/em-vfolder-rule.c b/libemail-utils/em-vfolder-rule.c
index 9cf69544f1..393ae5b92f 100644
--- a/libemail-utils/em-vfolder-rule.c
+++ b/libemail-utils/em-vfolder-rule.c
@@ -71,17 +71,6 @@ G_DEFINE_TYPE (
static void
-vfolder_rule_dispose (GObject *object)
-{
- EMVFolderRulePrivate *priv;
-
- priv = EM_VFOLDER_RULE_GET_PRIVATE (object);
-
- /* Chain up to parent's dispose() method. */
- G_OBJECT_CLASS (em_vfolder_rule_parent_class)->dispose (object);
-}
-
-static void
vfolder_rule_finalize (GObject *object)
{
EMVFolderRule *rule = EM_VFOLDER_RULE (object);
@@ -103,7 +92,6 @@ em_vfolder_rule_class_init (EMVFolderRuleClass *class)
g_type_class_add_private (class, sizeof (EMVFolderRulePrivate));
object_class = G_OBJECT_CLASS (class);
- object_class->dispose = vfolder_rule_dispose;
object_class->finalize = vfolder_rule_finalize;
filter_rule_class = E_FILTER_RULE_CLASS (class);