[gtk+] Scale: consistent #Class:signal-or-property syntax



commit 97fe47bbd91b0999e1a10a967d17e39381df2c36
Author: Daniel Boles <dboles src gnome org>
Date:   Sun Feb 19 08:36:27 2017 +0000

    Scale: consistent #Class:signal-or-property syntax
    
    Use : everywhere, not a mixture of : and ::

 gtk/gtkscale.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index dbe629d..b2e4e19 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -59,7 +59,7 @@
  * its base class, #GtkRange, in addition to the methods for GtkScale itself.
  * To set the value of a scale, you would normally use gtk_range_set_value().
  * To detect changes to the value, you would normally use the
- * #GtkRange::value-changed signal.
+ * #GtkRange:value-changed signal.
  *
  * Note that using the same upper and lower bounds for the #GtkScale (through
  * the #GtkRange methods) will hide the slider itself. This is useful for
@@ -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
    *
@@ -1081,11 +1081,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
@@ -1893,7 +1893,7 @@ weed_out_neg_zero (gchar *str,
 }
 
 /*
- * Emits #GtkScale::format-value signal to format the value,
+ * Emits #GtkScale:format-value signal to format the value,
  * if no user signal handlers, falls back to a default format.
  *
  * Returns: formatted value


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