Re: 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))) {
} else {
"remaining"); }

elasped_radio is a GTK_RADIO_BUTTON.

I think I was getting this when I was compiling a project as C++ instead of
You may try type casting the all the strings to (gchar *)  or (gpointer).
I use
KDE to compile my apps if this helps.  I think C++ is more  stringent on
passing data.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]