[tepl] File loading: remove public function from FileContent



commit 053480cc7a77f982853adcd3a2ec1473dc097070
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sun Oct 22 11:42:32 2017 +0200

    File loading: remove public function from FileContent

 tepl/tepl-file-content.c |    8 --------
 tepl/tepl-file-content.h |    3 ---
 2 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/tepl/tepl-file-content.c b/tepl/tepl-file-content.c
index 8b82c8b..785d3f0 100644
--- a/tepl/tepl-file-content.c
+++ b/tepl/tepl-file-content.c
@@ -82,14 +82,6 @@ _tepl_file_content_add_chunk (TeplFileContent *content,
        g_queue_push_tail (content->priv->chunks, g_bytes_ref (chunk));
 }
 
-GQueue *
-_tepl_file_content_get_chunks (TeplFileContent *content)
-{
-       g_return_val_if_fail (TEPL_IS_FILE_CONTENT (content), NULL);
-
-       return content->priv->chunks;
-}
-
 static TeplEncoding *
 create_encoding_for_uchardet_charset (const gchar *charset)
 {
diff --git a/tepl/tepl-file-content.h b/tepl/tepl-file-content.h
index 7f1182f..74456ae 100644
--- a/tepl/tepl-file-content.h
+++ b/tepl/tepl-file-content.h
@@ -60,9 +60,6 @@ void                  _tepl_file_content_add_chunk            (TeplFileContent *content,
                                                                 GBytes          *chunk);
 
 G_GNUC_INTERNAL
-GQueue *               _tepl_file_content_get_chunks           (TeplFileContent *content);
-
-G_GNUC_INTERNAL
 TeplEncoding *         _tepl_file_content_determine_encoding   (TeplFileContent *content);
 
 G_GNUC_INTERNAL


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