[gnome-logs/wip/gl-journal] Remove unused gl_journal_get_journal() method



commit 4b34bc2e7b9e01fbeddec7155e5fb272a4a49821
Author: David King <davidk gnome org>
Date:   Thu Oct 3 14:10:15 2013 +0100

    Remove unused gl_journal_get_journal() method

 src/gl-journal.c |   12 ------------
 src/gl-journal.h |    1 -
 2 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/src/gl-journal.c b/src/gl-journal.c
index a3dcd2a..d6856ef 100644
--- a/src/gl-journal.c
+++ b/src/gl-journal.c
@@ -422,18 +422,6 @@ gl_journal_results_free (G_GNUC_UNUSED GlJournal *self,
     g_list_free (results);
 }
 
-sd_journal *
-gl_journal_get_journal (GlJournal *self)
-{
-    GlJournalPrivate *priv;
-
-    g_return_val_if_fail (GL_JOURNAL (self), NULL);
-
-    priv = gl_journal_get_instance_private (self);
-
-    return priv->journal;
-}
-
 GlJournal *
 gl_journal_new (void)
 {
diff --git a/src/gl-journal.h b/src/gl-journal.h
index ad91819..0220a16 100644
--- a/src/gl-journal.h
+++ b/src/gl-journal.h
@@ -62,7 +62,6 @@ GList * gl_journal_query (GlJournal *self, const GlJournalQuery *query);
 void gl_journal_result_free (G_GNUC_UNUSED GlJournal *self, GlJournalResult *result);
 void gl_journal_results_free (G_GNUC_UNUSED GlJournal *self, GList *results);
 GlJournalResult * gl_journal_query_cursor (GlJournal *self, const gchar *cursor);
-sd_journal * gl_journal_get_journal (GlJournal *self);
 GlJournal * gl_journal_new (void);
 
 G_END_DECLS


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