fix some compilation warnings. Close bug #330384.

2006-02-08  Luca Cavalli <loopback@slackit.org>

	* gnome-da-capplet.c: (web_radiobutton_toggled_cb),
	(web_item_comp), (mail_gconf_changed_cb), (term_gconf_changed_cb),
	(show_dialog):
	* gnome-da-xml.c: (gnome_da_xml_load_xml): fix some compilation
	warnings. Close bug #330384.
This commit is contained in:
Luca Cavalli 2006-02-08 16:47:49 +00:00 committed by Rodrigo Moya
parent 05042a5cb1
commit 54f951afb8
3 changed files with 15 additions and 14 deletions

View file

@ -18,6 +18,7 @@
*
*/
#include <string.h>
#include <glib.h>
#include <glib/gi18n.h>
#include <libxml/parser.h>
@ -126,13 +127,11 @@ static void
gnome_da_xml_load_xml (GnomeDACapplet *capplet, const gchar * filename)
{
xmlDoc *xml_doc;
xmlNode *root, *section, *element, *value;
xmlNode *root, *section, *element;
GnomeDAWebItem *web_item;
GnomeDAMailItem *mail_item;
GnomeDATermItem *term_item;
gint i;
xml_doc = xmlParseFile (filename);
if (!xml_doc)