only declare variables at the beginning of a code block... ... and fix a

2008-01-24  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (on_item_changed): only declare variables at
	the beginning of a code block...
	* gnome-wp-item.c: (gnome_wp_item_update_description): ... and fix a
	constness warning
	* gnome-wp-xml.c: (gnome_wp_xml_load_xml): remove unused variable

svn path=/trunk/; revision=8410
This commit is contained in:
Jens Granseuer 2008-01-24 18:55:18 +00:00 committed by Jens Granseuer
parent 6e0ad68523
commit 2824523e94
4 changed files with 22 additions and 12 deletions

View file

@ -103,7 +103,6 @@ static void gnome_wp_xml_load_xml (AppearanceData *data,
xmlChar * nodelang;
const gchar * const * syslangs;
GdkColor color1, color2;
GnomeWPItem * item;
gint i;
wplist = xmlParseFile (filename);