From dbabdf83411ef029c0107fe6f165465c24bf3f05 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Sat, 28 Sep 2019 08:38:41 +0200 Subject: [PATCH] radiobutton: Fix a warning in a code sample --- gtk/gtkradiobutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c index 303f16a1f8..313be232b7 100644 --- a/gtk/gtkradiobutton.c +++ b/gtk/gtkradiobutton.c @@ -392,7 +392,7 @@ gtk_radio_button_set_group (GtkRadioButton *radio_button, * * while (some_condition) * { - * radio_button = gtk_radio_button_new (NULL); + * radio_button = GTK_RADIO_BUTTON (gtk_radio_button_new (NULL)); * * gtk_radio_button_join_group (radio_button, last_button); * last_button = radio_button; -- 2.30.2