[gtk+/gtk-2-24] Scale: Fix signal documentation syntax



commit 3cde425a22211cbcba82f94c47932a42077ed6e2
Author: Daniel Boles <dboles src gnome org>
Date:   Sun Feb 19 10:12:37 2017 +0000

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

 gtk/gtkscale.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index 7e94b4c..1e24c6f 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -234,7 +234,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
    *
@@ -274,7 +274,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.
    */
   g_object_class_install_property (gobject_class,
                                    PROP_DIGITS,
@@ -604,7 +604,7 @@ 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.
  */
 void
 gtk_scale_set_digits (GtkScale *scale,
@@ -635,7 +635,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
  */
@@ -1275,7 +1275,7 @@ gtk_scale_real_get_layout_offsets (GtkScale *scale,
  * @scale: a #GtkScale
  * @value: adjustment value
  * 
- * Emits the #GtkScale:format-value signal.
+ * Emits the #GtkScale::format-value signal.
  * 
  * Return value: formatted value
  */


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