patch by David Sedeo Fernndez <david@alderia.com> to fix a warning

2004-10-27  Sebastien Bacher  <seb128@debian.org>

	* gnome-theme-save.c: (setup_directory_structure):
	patch by David Sedeo Fernndez <david@alderia.com> to fix a
	warning during the compilation (Closes: #148345).
This commit is contained in:
Sebastien Bacher 2004-10-27 09:32:33 +00:00 committed by Sebastien Bacher
parent 018427fb2c
commit fe379bce54
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2004-10-27 Sebastien Bacher <seb128@debian.org>
* gnome-theme-save.c: (setup_directory_structure):
patch by David Sedeño Fernández <david@alderia.com> to fix a
warning during the compilation (Closes: #148345).
2004-10-14 Jody Goldberg <jody@gnome.org>
* Release 2.8.1

View file

@ -94,7 +94,7 @@ setup_directory_structure (const gchar *theme_name,
if (!gnome_vfs_uri_exists (uri))
gnome_vfs_make_directory_for_uri (uri, 0775);
else {
GtkDialog *dialog;
GtkWidget *dialog;
gint response;
dialog = gtk_message_dialog_new (NULL,
@ -102,7 +102,7 @@ setup_directory_structure (const gchar *theme_name,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_OK_CANCEL,
_("The theme already exists. Would you like to replace it?"));
response = gtk_dialog_run(dialog);
response = gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
if (response == GTK_RESPONSE_CANCEL)
return FALSE;