summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserentry.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-05-20 09:17:04 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-05-22 17:25:26 -0400
commit91f7b9663fb17ebe26a28ec589a727397eef0967 (patch)
tree0d53b59b4e28bd4c879bf2081f8bef1993a5b298 /gtk/gtkfilechooserentry.c
parent2d266d107b2db1c1bf478bf7c93e38884c86c366 (diff)
downloadgtk+-91f7b9663fb17ebe26a28ec589a727397eef0967.tar.gz
gtk: Clean up docs syntax
Replace leftover gtk-doc syntax (#Type) with backquotes.
Diffstat (limited to 'gtk/gtkfilechooserentry.c')
-rw-r--r--gtk/gtkfilechooserentry.c33
1 files changed, 17 insertions, 16 deletions
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c
index 7e9f1ec473..2bf47a067e 100644
--- a/gtk/gtkfilechooserentry.c
+++ b/gtk/gtkfilechooserentry.c
@@ -798,12 +798,12 @@ delete_text_callback (GtkFileChooserEntry *chooser_entry,
* @eat_tabs: If %FALSE, allow focus navigation with the tab key.
* @eat_escape: If %TRUE, capture Escape key presses and emit ::hide-entry
*
- * Creates a new #GtkFileChooserEntry object. #GtkFileChooserEntry
+ * Creates a new `GtkFileChooserEntry` object. `GtkFileChooserEntry`
* is an internal implementation widget for the GTK file chooser
* which is an entry with completion with respect to a
- * #GtkFileSystem object.
+ * `GtkFileSystem` object.
*
- * Returns: the newly created #GtkFileChooserEntry
+ * Returns: the newly created `GtkFileChooserEntry`
**/
GtkWidget *
_gtk_file_chooser_entry_new (gboolean eat_tabs,
@@ -820,7 +820,7 @@ _gtk_file_chooser_entry_new (gboolean eat_tabs,
/**
* _gtk_file_chooser_entry_set_base_folder:
- * @chooser_entry: a #GtkFileChooserEntry
+ * @chooser_entry: a `GtkFileChooserEntry`
* @file: file for a folder in the chooser entries current file system.
*
* Sets the folder with respect to which completions occur.
@@ -850,13 +850,14 @@ _gtk_file_chooser_entry_set_base_folder (GtkFileChooserEntry *chooser_entry,
/**
* _gtk_file_chooser_entry_get_current_folder:
- * @chooser_entry: a #GtkFileChooserEntry
+ * @chooser_entry: a `GtkFileChooserEntry`
*
- * Gets the current folder for the #GtkFileChooserEntry. If the
- * user has only entered a filename, this will be in the base folder
- * (see _gtk_file_chooser_entry_set_base_folder()), but if the
- * user has entered a relative or absolute path, then it will
- * be different. If the user has entered unparsable text, or text which
+ * Gets the current folder for the `GtkFileChooserEntry`.
+ *
+ * If the user has only entered a filename, this will be in the base
+ * folder (see _gtk_file_chooser_entry_set_base_folder()), but if the
+ * user has entered a relative or absolute path, then it will be
+ * different. If the user has entered unparsable text, or text which
* the entry cannot handle, this will return %NULL.
*
* Returns: (nullable) (transfer full): the file for the current folder
@@ -873,7 +874,7 @@ _gtk_file_chooser_entry_get_current_folder (GtkFileChooserEntry *chooser_entry)
/**
* _gtk_file_chooser_entry_get_file_part:
- * @chooser_entry: a #GtkFileChooserEntry
+ * @chooser_entry: a `GtkFileChooserEntry`
*
* Gets the non-folder portion of whatever the user has entered
* into the file selector. What is returned is a UTF-8 string,
@@ -902,11 +903,11 @@ _gtk_file_chooser_entry_get_file_part (GtkFileChooserEntry *chooser_entry)
/**
* _gtk_file_chooser_entry_set_action:
- * @chooser_entry: a #GtkFileChooserEntry
+ * @chooser_entry: a `GtkFileChooserEntry`
* @action: the action which is performed by the file selector using this entry
*
- * Sets action which is performed by the file selector using this entry.
- * The #GtkFileChooserEntry will use different completion strategies for
+ * Sets action which is performed by the file selector using this entry.
+ * The `GtkFileChooserEntry` will use different completion strategies for
* different actions.
**/
void
@@ -949,7 +950,7 @@ _gtk_file_chooser_entry_set_action (GtkFileChooserEntry *chooser_entry,
/**
* _gtk_file_chooser_entry_get_action:
- * @chooser_entry: a #GtkFileChooserEntry
+ * @chooser_entry: a `GtkFileChooserEntry`
*
* Gets the action for this entry.
*
@@ -986,7 +987,7 @@ _gtk_file_chooser_entry_get_is_folder (GtkFileChooserEntry *chooser_entry,
/*
* _gtk_file_chooser_entry_select_filename:
- * @chooser_entry: a #GtkFileChooserEntry
+ * @chooser_entry: a `GtkFileChooserEntry`
*
* Selects the filename (without the extension) for user edition.
*/