void value not ignored



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]