[gtk+] Scale: Improve documentation of set_has_origin()
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Scale: Improve documentation of set_has_origin()
- Date: Tue, 2 May 2017 11:39:31 +0000 (UTC)
commit e0a741c8ee76b674d6d1cefb60e1e31deeadfbd8
Author: Daniel Boles <dboles src gnome org>
Date: Tue May 2 12:22:20 2017 +0100
Scale: Improve documentation of set_has_origin()
Properly format the property name, and avoid saying scale so many times.
gtk/gtkscale.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index b35dd5e..b760356 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]