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



commit 48765892f9896b8d0eb816a982f4bd907f19628c
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 a4a84df..1efeb49 100644
--- a/src/gl-journal.c
+++ b/src/gl-journal.c
@@ -424,18 +424,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]