[Setup-tool-hackers] [Fwd: Bug/Glitch ingnome-system-tools-0.26.0/src/network/callback.c line 604]



Hi. I'm forwarding a mail I got about a non-standard C extension being
used in the network configuration frontend.

-- 
Hans Petter


Hi;

in

gnome-system-tools-0.26.0/src/network/callback.c line 604

it reads:

 xmlNodePtr root = gst_xml_doc_get_root(tool->config);

... That will not compile ( in c++ it would though ... )

Correction:

Add forward declaration just below the gboolean stuff at start of routine like this:

xmlNodePtr root;

... And change line 604 to:

root = gst_xml_doc_get_root(tool->config);


Ok;


Wolmer.








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