void value not ignored
- From: Matt Gerginski <mattgerg users sourceforge net>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: void value not ignored
- Date: 08 Apr 2001 14:23:37 -0400
hi guys. I cant figure this one out. GCC gives me this:
gnomoradio-prefs.c:70: void value not ignored as it ought to be
Here is the code that it is complaining about:
if (gtk_toggle_button_toggled(GTK_TOGGLE_BUTTON(elasped_radio))) {
gnome_config_set_string("~/.gnome/gnomoradio/Preferences/timer",
"elasped");
} else {
gnome_config_set_string("~/.gnome/gnomoradio/Preferences/timer",
"remaining"); }
elasped_radio is a GTK_RADIO_BUTTON.
thanks.
--mattgerg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]