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:
parent
de98760fb2
commit
144005a19b
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
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
|
||||||
|
|
||||||
2004-01-12 Diego Gonzalez <diego@pemas.net>
|
2004-01-12 Diego Gonzalez <diego@pemas.net>
|
||||||
|
|
||||||
* gnome-wp-xml.c (gnome_wp_load_legacy): don't crash if we could
|
* gnome-wp-xml.c (gnome_wp_load_legacy): don't crash if we could
|
||||||
|
|
|
@ -81,9 +81,10 @@ static void gnome_wp_load_legacy (GnomeWPCapplet * capplet) {
|
||||||
item->filename = g_strdup (foo);
|
item->filename = g_strdup (foo);
|
||||||
|
|
||||||
item->fileinfo = gnome_wp_info_new (item->filename, capplet->thumbs);
|
item->fileinfo = gnome_wp_info_new (item->filename, capplet->thumbs);
|
||||||
|
|
||||||
if (item->fileinfo == NULL) {
|
if (item->fileinfo == NULL) {
|
||||||
g_free (item);
|
gnome_wp_item_free (item);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
item->shade_type = gconf_client_get_string (capplet->client,
|
item->shade_type = gconf_client_get_string (capplet->client,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue