[gtk+] ActionBar: Fix links in set_revealed() doc, etc.
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] ActionBar: Fix links in set_revealed() doc, etc.
- Date: Tue, 5 Sep 2017 20:34:05 +0000 (UTC)
commit d97db77ad492308eff29461c4d14242682f0549d
Author: Daniel Boles <dboles src gnome org>
Date: Tue Sep 5 21:31:42 2017 +0100
ActionBar: Fix links in set_revealed() doc, etc.
mostly: syncing with previous commit, where InfoBar copied this all from
Also, remove my unhelpful “and vice-versa” from InfoBar.
gtk/gtkactionbar.c | 11 ++++++-----
gtk/gtkinfobar.c | 2 +-
2 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkactionbar.c b/gtk/gtkactionbar.c
index f664735..80b231a 100644
--- a/gtk/gtkactionbar.c
+++ b/gtk/gtkactionbar.c
@@ -550,11 +550,12 @@ gtk_action_bar_new (void)
* @action_bar: a #GtkActionBar
* @revealed: The new value of the property
*
- * Sets the GtkActionBar:revealed property to @revealed. This will cause
- * @action_bar to show up with a slide-in transition.
+ * Sets the #GtkActionBar:revealed property to @revealed. Changing this will
+ * make @action_bar reveal (%TRUE) or conceal (%FALSE) itself via a sliding
+ * transition.
*
- * Note that this settings does not automatically show @action_bar and thus won't
- * have any effect if it is invisible.
+ * Note: this does not show or hide @action_bar in the #GtkWidget:visible sense,
+ * so revealing has no effect if #GtkWidget:visible is %FALSE.
*
* Since: 3.90
*/
@@ -578,7 +579,7 @@ gtk_action_bar_set_revealed (GtkActionBar *action_bar,
* gtk_action_bar_get_revealed:
* @action_bar: a #GtkActionBar
*
- * Returns: the current value of the GtkActionBar:revealed property.
+ * Returns: the current value of the #GtkActionBar:revealed property.
*
* Since: 3.90
*/
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c
index bd819d4..7804a3b 100644
--- a/gtk/gtkinfobar.c
+++ b/gtk/gtkinfobar.c
@@ -1159,7 +1159,7 @@ gtk_info_bar_get_show_close_button (GtkInfoBar *info_bar)
* @info_bar reveal (%TRUE) or conceal (%FALSE) itself via a sliding transition.
*
* Note: this does not show or hide @info_bar in the #GtkWidget:visible sense,
- * so revealing has no effect if #GtkWidget:visible is %FALSE and vice-versa.
+ * so revealing has no effect if #GtkWidget:visible is %FALSE.
*
* Since: 3.90
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]