[gnome-builder] unsaved-file: add transfer information
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] unsaved-file: add transfer information
- Date: Mon, 27 Apr 2015 22:27:09 +0000 (UTC)
commit fa4c7394b5f40c79ecb5bf422ff71f211ba632df
Author: Christian Hergert <christian hergert me>
Date: Mon Apr 27 14:33:25 2015 -0700
unsaved-file: add transfer information
libide/ide-unsaved-file.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/libide/ide-unsaved-file.c b/libide/ide-unsaved-file.c
index 414083f..a0fe0b9 100644
--- a/libide/ide-unsaved-file.c
+++ b/libide/ide-unsaved-file.c
@@ -122,6 +122,14 @@ ide_unsaved_file_unref (IdeUnsavedFile *self)
}
}
+/**
+ * ide_unsaved_file_get_content:
+ * @self: A #IdeUnsavedFile.
+ *
+ * Gets the contents of the unsaved file.
+ *
+ * Returns: (transfer none): A #GBytes containing the unsaved file content.
+ */
GBytes *
ide_unsaved_file_get_content (IdeUnsavedFile *self)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]