[gtk+/gtk-3-22] Scale: Fix signal documentation syntax



commit 563063d66b67cbf72894ebef54524e0006aca6a6
Author: Daniel Boles <dboles src gnome org>
Date:   Sun Feb 19 10:13:34 2017 +0000

    Scale: Fix signal documentation syntax
    
    Oops, sorry. Thanks to Cristoph Reiter for correcting me on this.

 gtk/gtkscale.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index 28fcde6..9349a0f 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -727,7 +727,7 @@ gtk_scale_class_init (GtkScaleClass *class)
   class->get_layout_offsets = gtk_scale_real_get_layout_offsets;
 
   /**
-   * GtkScale:format-value:
+   * GtkScale::format-value:
    * @scale: the object which received the signal
    * @value: the value to format
    *
@@ -767,7 +767,7 @@ gtk_scale_class_init (GtkScaleClass *class)
    *
    * The number of decimal places to which the value is rounded when it is
    * changed. This also sets the number of digits shown in the displayed value
-   * when using the default handler for the #GtkScale:format-value signal.
+   * when using the default handler for the #GtkScale::format-value signal.
    */
   properties[PROP_DIGITS] =
       g_param_spec_int ("digits",
@@ -1124,11 +1124,11 @@ gtk_scale_new_with_range (GtkOrientation orientation,
  *
  * Sets the number of decimal places to which the value is rounded when it is
  * changed. This also sets the number of digits shown in the displayed value
- * when using the default handler for the #GtkScale:format-value signal.
+ * when using the default handler for the #GtkScale::format-value signal.
  *
  * Note that rounding to a small number of digits can interfere with
  * the smooth autoscrolling that is built into #GtkScale. As an alternative,
- * you can use the #GtkScale:format-value signal to format the displayed
+ * you can use the #GtkScale::format-value signal to format the displayed
  * value yourself.
  */
 void
@@ -1162,7 +1162,7 @@ gtk_scale_set_digits (GtkScale *scale,
  * @scale: a #GtkScale
  *
  * Gets the number of decimal places to which the value is rounded on change.
- * This number is also used by the default #GtkScale:format-value handler.
+ * This number is also used by the default #GtkScale::format-value handler.
  *
  * Returns: the number of decimal places
  */
@@ -1959,7 +1959,7 @@ weed_out_neg_zero (gchar *str,
 }
 
 /*
- * Emits the #GtkScale:format-value signal.
+ * Emits the #GtkScale::format-value signal.
  *
  * Returns: formatted value
  */


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