summaryrefslogtreecommitdiff
path: root/gtk/gtkscale.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/gtkscale.c
parent2d266d107b2db1c1bf478bf7c93e38884c86c366 (diff)
downloadgtk+-91f7b9663fb17ebe26a28ec589a727397eef0967.tar.gz
gtk: Clean up docs syntax
Replace leftover gtk-doc syntax (#Type) with backquotes.
Diffstat (limited to 'gtk/gtkscale.c')
-rw-r--r--gtk/gtkscale.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index a44c863a73..d9620e9461 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -964,7 +964,7 @@ gtk_scale_new (GtkOrientation orientation,
* @step is a power of ten. If the resulting precision is not suitable
* for your needs, use [method@Gtk.Scale.set_digits] to correct it.
*
- * Returns: a new #GtkScale
+ * Returns: a new `GtkScale`
*/
GtkWidget *
gtk_scale_new_with_range (GtkOrientation orientation,
@@ -1095,7 +1095,7 @@ update_value_position (GtkScale *scale)
/**
* gtk_scale_set_draw_value: (attributes org.gtk.Method.set_property=draw-value)
- * @scale: a #GtkScale
+ * @scale: a `GtkScale`
* @draw_value: %TRUE to draw the value
*
* Specifies whether the current value is displayed as a string next
@@ -1595,7 +1595,7 @@ gtk_scale_get_layout (GtkScale *scale)
/**
* gtk_scale_get_layout_offsets:
- * @scale: a #GtkScale
+ * @scale: a `GtkScale`
* @x: (out) (optional): location to store X offset of layout
* @y: (out) (optional): location to store Y offset of layout
*
@@ -1674,9 +1674,9 @@ gtk_scale_clear_marks (GtkScale *scale)
* @scale: a `GtkScale`
* @value: the value at which the mark is placed, must be between
* the lower and upper limits of the scales’ adjustment
- * @position: where to draw the mark. For a horizontal scale, #GTK_POS_TOP
+ * @position: where to draw the mark. For a horizontal scale, %GTK_POS_TOP
* and %GTK_POS_LEFT are drawn above the scale, anything else below.
- * For a vertical scale, #GTK_POS_LEFT and %GTK_POS_TOP are drawn to
+ * For a vertical scale, %GTK_POS_LEFT and %GTK_POS_TOP are drawn to
* the left of the scale, anything else to the right.
* @markup: (nullable): Text to be shown at the mark, using Pango markup
*