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.
This commit is contained in:
Daniel Boles 2017-09-05 21:31:42 +01:00
parent 14387ed2e7
commit d97db77ad4
2 changed files with 7 additions and 6 deletions

View File

@ -550,11 +550,12 @@ gtk_action_bar_new (void)
* @action_bar: a #GtkActionBar * @action_bar: a #GtkActionBar
* @revealed: The new value of the property * @revealed: The new value of the property
* *
* Sets the GtkActionBar:revealed property to @revealed. This will cause * Sets the #GtkActionBar:revealed property to @revealed. Changing this will
* @action_bar to show up with a slide-in transition. * 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 * Note: this does not show or hide @action_bar in the #GtkWidget:visible sense,
* have any effect if it is invisible. * so revealing has no effect if #GtkWidget:visible is %FALSE.
* *
* Since: 3.90 * Since: 3.90
*/ */
@ -578,7 +579,7 @@ gtk_action_bar_set_revealed (GtkActionBar *action_bar,
* gtk_action_bar_get_revealed: * gtk_action_bar_get_revealed:
* @action_bar: a #GtkActionBar * @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 * Since: 3.90
*/ */

View File

@ -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. * @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, * 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 * Since: 3.90
*/ */