tiny optimization

2007-08-09  Jens Granseuer  <jensgr@gmx.net>

	* gnome-wp-xml.c: (gnome_wp_xml_load_list),
	(gnome_wp_xml_save_list):
	* theme-installer.c: (gnome_theme_install_from_uri): tiny optimization

svn path=/trunk/; revision=7982
This commit is contained in:
Jens Granseuer 2007-08-08 22:07:28 +00:00 committed by Jens Granseuer
parent 4279e8b062
commit 08d807cfb4
3 changed files with 11 additions and 5 deletions

View file

@ -488,7 +488,7 @@ gnome_theme_install_from_uri (gchar *filename, GtkWindow *parent)
gchar *temppath;
const gchar *template;
if (filename == NULL || strlen (filename) <= 0) {
if (filename == NULL || strcmp (filename, "") == 0) {
dialog = gtk_message_dialog_new (NULL,
GTK_DIALOG_MODAL,
GTK_MESSAGE_ERROR,