[gtk+/gtk-3-22] Scale: Improve documentation of set_has_origin()
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] Scale: Improve documentation of set_has_origin()
- Date: Tue, 2 May 2017 11:38:37 +0000 (UTC)
commit 5269d134b0bd3ae7ddc4c57321413e46b6d2bfa4
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 065b73a..18bb7f8 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]