From e0a741c8ee76b674d6d1cefb60e1e31deeadfbd8 Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Tue, 2 May 2017 12:22:20 +0100 Subject: [PATCH] Scale: Improve documentation of set_has_origin() Properly format the property name, and avoid saying scale so many times. --- gtk/gtkscale.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c index b35dd5ec80..b760356009 100644 --- a/gtk/gtkscale.c +++ b/gtk/gtkscale.c @@ -1345,9 +1345,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