Scale: Improve documentation of set_has_origin()
authorDaniel Boles <dboles@src.gnome.org>
Tue, 2 May 2017 11:22:20 +0000 (12:22 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Tue, 2 May 2017 11:28:21 +0000 (12:28 +0100)
Properly format the property name, and avoid saying scale so many times.

gtk/gtkscale.c

index 065b73a1b3c8600b7fe3264677b230e88bb00169..18bb7f8cc377bacb25d06392b644661f3796ff43 100644 (file)
@@ -1378,9 +1378,8 @@ gtk_scale_get_draw_value (GtkScale *scale)
  * @scale: a #GtkScale
  * @has_origin: %TRUE if the scale has an origin
  * 
- * If @has_origin is set to %TRUE (the default),
- * the scale will highlight the part of the scale
- * between the origin (bottom or left side) of the scale
+ * If #GtkScale:has-origin is set to %TRUE (the default), the scale will
+ * highlight the part of the trough between the origin (bottom or left side)
  * and the current value.
  *
  * Since: 3.4