diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2020-04-17 22:32:37 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2020-04-17 22:34:10 +0100 |
commit | dd23a37ca1ba163edc3c0695008414657c2a6c3d (patch) | |
tree | 5f70f810e2e85228a0776fa9a36411a80c3c39ca /gtk/gtkscrolledwindow.c | |
parent | d46e1288a4fb7ec928829b55f5c724376ba19382 (diff) | |
download | gtk+-dd23a37ca1ba163edc3c0695008414657c2a6c3d.tar.gz |
Reconcile documentation with declaration and definition
The arguments name in the documentation must match declaration and
definition, or gtk-doc and g-ir-scanner will get very cross at us.
Diffstat (limited to 'gtk/gtkscrolledwindow.c')
-rw-r--r-- | gtk/gtkscrolledwindow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c index 3900b624fe..3f1f57b91d 100644 --- a/gtk/gtkscrolledwindow.c +++ b/gtk/gtkscrolledwindow.c @@ -2410,7 +2410,7 @@ gtk_scrolled_window_unset_placement (GtkScrolledWindow *scrolled_window) /** * gtk_scrolled_window_set_has_frame: * @scrolled_window: a #GtkScrolledWindow - * @type: whether to draw a frame around scrolled window contents + * @has_frame: whether to draw a frame around scrolled window contents * * Changes the frame drawn around the contents of @scrolled_window. **/ @@ -2422,7 +2422,7 @@ gtk_scrolled_window_set_has_frame (GtkScrolledWindow *scrolled_window, g_return_if_fail (GTK_IS_SCROLLED_WINDOW (scrolled_window)); - if (priv->has_frame == has_frame) + if (priv->has_frame == !!has_frame) return; priv->has_frame = has_frame; |