summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Wilmet <swilmet@informatique-libre.be>2023-03-21 16:00:00 +0100
committerSébastien Wilmet <swilmet@informatique-libre.be>2023-03-21 16:00:00 +0100
commit80f02a7a90a4424b898939328bad8dc85795ae3d (patch)
tree748a8bfeac8e27b69d5e7ee2d6eba19c4702e043
parent624b1d391b86f06bc2b4ca94200ece546fd480b5 (diff)
downloadgedit-80f02a7a90a4424b898939328bad8dc85795ae3d.tar.gz
Window: improve docs of create_tab()
-rw-r--r--gedit/gedit-window.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index 709fb0868..515cede47 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -2915,13 +2915,12 @@ _gedit_window_get_notebook (GeditWindow *window)
/**
* gedit_window_create_tab:
- * @window: a #GeditWindow
- * @jump_to: %TRUE to set the new #GeditTab as active
+ * @window: a #GeditWindow.
+ * @jump_to: if %TRUE, the #GtkNotebook switches to the new #GeditTab.
*
- * Creates a new #GeditTab and adds the new tab to the #GtkNotebook.
- * In case @jump_to is %TRUE the #GtkNotebook switches to that new #GeditTab.
+ * Creates a new #GeditTab and adds it to the #GtkNotebook.
*
- * Returns: (transfer none): a new #GeditTab
+ * Returns: (transfer none): the new #GeditTab.
*/
GeditTab *
gedit_window_create_tab (GeditWindow *window,