[gtksourceview/wip/loader-saver] encoding: comment unused functions



commit 12d992cb5241bc045403191bb0f860c3cac9c4c3
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Wed Jun 4 17:13:40 2014 +0200

    encoding: comment unused functions

 gtksourceview/gtksourceencoding.c |    3 +++
 gtksourceview/gtksourceencoding.h |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/gtksourceencoding.c b/gtksourceview/gtksourceencoding.c
index 0be5ff6..9a01706 100644
--- a/gtksourceview/gtksourceencoding.c
+++ b/gtksourceview/gtksourceencoding.c
@@ -434,6 +434,8 @@ gtk_source_encoding_free (GtkSourceEncoding *enc)
        g_return_if_fail (enc != NULL);
 }
 
+#if 0
+/* Will probably be used in the future. */
 static gboolean
 data_exists (GSList         *list,
             const gpointer  data)
@@ -500,3 +502,4 @@ _gtk_source_encoding_list_to_strv (const GSList *enc_list)
 
        return (gchar **)g_ptr_array_free (array, FALSE);
 }
+#endif
diff --git a/gtksourceview/gtksourceencoding.h b/gtksourceview/gtksourceencoding.h
index 44c4611..545806b 100644
--- a/gtksourceview/gtksourceencoding.h
+++ b/gtksourceview/gtksourceencoding.h
@@ -48,11 +48,14 @@ const GtkSourceEncoding     *gtk_source_encoding_get_current        (void);
 GtkSourceEncoding      *gtk_source_encoding_copy               (const GtkSourceEncoding *enc);
 void                    gtk_source_encoding_free               (GtkSourceEncoding       *enc);
 
+#if 0
+/* Will probably be used in the future. */
 G_GNUC_INTERNAL
 GSList                 *_gtk_source_encoding_strv_to_list      (const gchar * const     *enc_str);
 
 G_GNUC_INTERNAL
 gchar                 **_gtk_source_encoding_list_to_strv      (const GSList            *enc);
+#endif
 
 G_END_DECLS
 


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