[ostree] gpg: Remove _ostree_gpg_verifier_set_homedir()



commit 0bae648977a8c33d3e2f172f9c18b5dab358520b
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Feb 27 13:34:17 2015 -0500

    gpg: Remove _ostree_gpg_verifier_set_homedir()
    
    Never called, and the setting is never applied anyway.

 src/libostree/ostree-gpg-verifier.c |   10 ----------
 src/libostree/ostree-gpg-verifier.h |    3 ---
 2 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/src/libostree/ostree-gpg-verifier.c b/src/libostree/ostree-gpg-verifier.c
index abe2e79..b4cfed0 100644
--- a/src/libostree/ostree-gpg-verifier.c
+++ b/src/libostree/ostree-gpg-verifier.c
@@ -36,7 +36,6 @@ struct OstreeGpgVerifier {
   GObject parent;
 
   GList *keyrings;
-  gchar *homedir;
 };
 
 static void _ostree_gpg_verifier_initable_iface_init (GInitableIface *iface);
@@ -50,7 +49,6 @@ ostree_gpg_verifier_finalize (GObject *object)
   OstreeGpgVerifier *self = OSTREE_GPG_VERIFIER (object);
 
   g_list_free_full (self->keyrings, g_object_unref);
-  g_free (self->homedir);
 
   G_OBJECT_CLASS (_ostree_gpg_verifier_parent_class)->finalize (object);
 }
@@ -246,14 +244,6 @@ _ostree_gpg_verifier_check_signature (OstreeGpgVerifier   *self,
   return ret;
 }
 
-void
-_ostree_gpg_verifier_set_homedir (OstreeGpgVerifier    *self,
-                                  const gchar          *path)
-{
-  g_free (self->homedir);
-  self->homedir = g_strdup (path);
-}
-
 gboolean
 _ostree_gpg_verifier_add_keyring (OstreeGpgVerifier  *self,
                                   GFile              *path,
diff --git a/src/libostree/ostree-gpg-verifier.h b/src/libostree/ostree-gpg-verifier.h
index 1cde9c5..fa718ee 100644
--- a/src/libostree/ostree-gpg-verifier.h
+++ b/src/libostree/ostree-gpg-verifier.h
@@ -48,9 +48,6 @@ gboolean      _ostree_gpg_verifier_check_signature (OstreeGpgVerifier *self,
                                                     GCancellable      *cancellable,
                                                     GError           **error);
 
-void _ostree_gpg_verifier_set_homedir (OstreeGpgVerifier *self,
-                                       const gchar *path);
-
 gboolean      _ostree_gpg_verifier_add_keyring_dir (OstreeGpgVerifier   *self,
                                                     GFile               *path,
                                                     GCancellable        *cancellable,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]