Re: garnome-0.23.1: error compiling gnome-applets



hi,

you have to move the variable-declarations to the beginning of the function:

instead of this (which is not allowed in C):
{
  ...
  GtkWidget* x = foo ();
}
you have to do this:
{
  GtkWidget* x;
  ...
  x = foo ();
}

You have to do this in two functions (something about prefs_dialog, and
something about about-dlg).
It seems like they are using C++ features (does a recent gcc support this as
a GNU extension ?)

If you need a patch, please tell me!

see you,

-- 
Felix Natter




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