projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
703fda3
)
radiobutton: Fix a warning in a code sample
author
Timm Bäder
<mail@baedert.org>
Sat, 28 Sep 2019 06:38:41 +0000
(08:38 +0200)
committer
Timm Bäder
<mail@baedert.org>
Wed, 9 Oct 2019 14:57:21 +0000
(16:57 +0200)
gtk/gtkradiobutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkradiobutton.c
b/gtk/gtkradiobutton.c
index 303f16a1f8c52043a06352bf10e8880e461072ff..313be232b72501b427582374b174e5969ff983ab 100644
(file)
--- 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;