Fix previous change to use gnome_wp_item_free () instead of g_free (), and

2004-01-12  Rodney Dawes  <dobey@ximian.com>

	* gnome-wp-xml.c (gnome_wp_load_legacy): Fix previous change to
	use gnome_wp_item_free () instead of g_free (), and fix tab width
This commit is contained in:
Rodney Dawes 2004-01-13 20:17:51 +00:00 committed by Rodney Dawes
parent de98760fb2
commit 144005a19b
2 changed files with 8 additions and 2 deletions

View file

@ -81,9 +81,10 @@ static void gnome_wp_load_legacy (GnomeWPCapplet * capplet) {
item->filename = g_strdup (foo);
item->fileinfo = gnome_wp_info_new (item->filename, capplet->thumbs);
if (item->fileinfo == NULL) {
g_free (item);
continue;
gnome_wp_item_free (item);
continue;
}
item->shade_type = gconf_client_get_string (capplet->client,