Check that the file exists, and continue through the loop if it doesn't
2004-02-24 Rodney Dawes <dobey@ximian.com> * gnome-wp-xml.c (gnome_wp_oad_legacy): Check that the file exists, and continue through the loop if it doesn't (#135251) Fixes #135251
This commit is contained in:
parent
48c884fe25
commit
19c8dc6001
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-02-24 Rodney Dawes <dobey@ximian.com>
|
||||
|
||||
* gnome-wp-xml.c (gnome_wp_oad_legacy): Check that the file exists,
|
||||
and continue through the loop if it doesn't (#135251)
|
||||
|
||||
Fixes #135251
|
||||
|
||||
2004-02-24 Rodney Dawes <dobey@ximian.com>
|
||||
|
||||
* gnome-wp-item.c (gnome_wp_item_get_thumbnail): Add some explanatory
|
||||
|
|
|
@ -76,6 +76,10 @@ static void gnome_wp_load_legacy (GnomeWPCapplet * capplet) {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (!g_file_test (foo, G_FILE_TEST_EXISTS)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
item = g_new0 (GnomeWPItem, 1);
|
||||
|
||||
item->filename = g_strdup (foo);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue