don't try to unref URIs if the theme package is invalid (bug #524567)

2008-03-28  Jens Granseuer  <jensgr@gmx.net>

	* theme-installer.c: (gnome_theme_install_from_uri): don't try to
	unref URIs if the theme package is invalid (bug #524567)

svn path=/trunk/; revision=8603
This commit is contained in:
Jens Granseuer 2008-03-28 17:40:14 +00:00 committed by Jens Granseuer
parent 24e601d3f8
commit eb420a2cbb
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-03-28 Jens Granseuer <jensgr@gmx.net>
* theme-installer.c: (gnome_theme_install_from_uri): don't try to
unref URIs if the theme package is invalid (bug #524567)
2008-03-27 Jens Granseuer <jensgr@gmx.net>
* theme-installer.c: (gnome_theme_install_real): remove bogus flag

View file

@ -627,7 +627,6 @@ gnome_theme_install_from_uri (const gchar *filename, GtkWindow *parent)
else {
invalid_theme_dialog (base, FALSE);
g_free (base);
gnome_vfs_uri_list_unref (src);
return;
}
g_free (base);