summaryrefslogtreecommitdiff
path: root/gtk/gtkbutton.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-08-01 15:34:59 +0200
committerTimm Bäder <mail@baedert.org>2020-08-01 15:34:59 +0200
commit65b79d258580e21085610cd0f89474346c9187c4 (patch)
tree519784bff5a2b9a626f8fcd5bb52b376eebd4e21 /gtk/gtkbutton.c
parente976825342510f1c019589eef2fb63742ece44eb (diff)
downloadgtk+-65b79d258580e21085610cd0f89474346c9187c4.tar.gz
Avoid refering to old GtkContainer API in the docs
Diffstat (limited to 'gtk/gtkbutton.c')
-rw-r--r--gtk/gtkbutton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index ca2d0607d9..843c1f49a0 100644
--- a/gtk/gtkbutton.c
+++ b/gtk/gtkbutton.c
@@ -629,7 +629,7 @@ gtk_button_buildable_iface_init (GtkBuildableIface *iface)
* gtk_button_new:
*
* Creates a new #GtkButton widget. To add a child widget to the button,
- * use gtk_container_add().
+ * use gtk_button_set_child().
*
* Returns: The newly created #GtkButton widget.
*/