From d97db77ad492308eff29461c4d14242682f0549d Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Tue, 5 Sep 2017 21:31:42 +0100 Subject: [PATCH] ActionBar: Fix links in set_revealed() doc, etc. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 f664735bfe..80b231a79c 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 bd819d421f..7804a3b3ca 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 */