[gtksourceview/wip/loader-saver] FileSaver: remove unused functions and dead code
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/loader-saver] FileSaver: remove unused functions and dead code
- Date: Fri, 13 Dec 2013 11:19:25 +0000 (UTC)
commit 56c00816fab066a4f29373eaf13c4cb5fa3c2572
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Dec 13 12:18:31 2013 +0100
FileSaver: remove unused functions and dead code
gtksourceview/gtksourcefilesaver.c | 8 --------
gtksourceview/gtksourcefilesaver.h | 11 -----------
2 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/gtksourceview/gtksourcefilesaver.c b/gtksourceview/gtksourcefilesaver.c
index 445fc9d..fe96dac 100644
--- a/gtksourceview/gtksourcefilesaver.c
+++ b/gtksourceview/gtksourcefilesaver.c
@@ -1093,14 +1093,6 @@ gtk_source_file_saver_saving (GtkSourceFileSaver *saver,
}
}
-GtkTextBuffer *
-gtk_source_file_saver_get_buffer (GtkSourceFileSaver *saver)
-{
- g_return_val_if_fail (GTK_SOURCE_IS_FILE_SAVER (saver), NULL);
-
- return saver->priv->buffer;
-}
-
GFile *
gtk_source_file_saver_get_location (GtkSourceFileSaver *saver)
{
diff --git a/gtksourceview/gtksourcefilesaver.h b/gtksourceview/gtksourcefilesaver.h
index 24c889f..4f69c01 100644
--- a/gtksourceview/gtksourcefilesaver.h
+++ b/gtksourceview/gtksourcefilesaver.h
@@ -88,19 +88,8 @@ void gtk_source_file_saver_save (GtkSourceFileSaver *saver,
GTimeVal *old_mtime);
G_GNUC_INTERNAL
-GtkTextBuffer *gtk_source_file_saver_get_buffer (GtkSourceFileSaver *saver);
-
-G_GNUC_INTERNAL
GFile *gtk_source_file_saver_get_location (GtkSourceFileSaver *saver);
-/* If backup_uri is NULL no backup will be made */
-G_GNUC_INTERNAL
-const gchar *gtk_source_file_saver_get_backup_uri (GtkSourceFileSaver *saver);
-
-G_GNUC_INTERNAL
-void *gtk_source_file_saver_set_backup_uri (GtkSourceFileSaver *saver,
- const gchar *backup_uri);
-
/* Returns 0 if file size is unknown */
G_GNUC_INTERNAL
goffset gtk_source_file_saver_get_file_size (GtkSourceFileSaver *saver);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]