[gnome-builder] editor: add doc for GbEditorTab:get_is_default()



commit 7b314731531ee1109dbbca79751d59f04b1da721
Author: Christian Hergert <christian hergert me>
Date:   Mon Sep 8 18:17:47 2014 -0700

    editor: add doc for GbEditorTab:get_is_default()

 src/editor/gb-editor-tab.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/editor/gb-editor-tab.c b/src/editor/gb-editor-tab.c
index a8ca342..fa5843d 100644
--- a/src/editor/gb-editor-tab.c
+++ b/src/editor/gb-editor-tab.c
@@ -132,6 +132,16 @@ gb_editor_tab_new (void)
   return g_object_new (GB_TYPE_EDITOR_TAB, NULL);
 }
 
+/**
+ * gb_editor_tab_get_is_default:
+ * @tab: A #GbEditorTab.
+ *
+ * Returns #TRUE if the tab has not been modified since being created
+ * from an empty state. This means the tab is a candidate to be
+ * dropped or repurposed for loading a new file.
+ *
+ * Returns: #TRUE if tab is in default state.
+ */
 gboolean
 gb_editor_tab_get_is_default (GbEditorTab *tab)
 {


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