gnome-utils r8016 - trunk/gnome-screenshot
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-utils r8016 - trunk/gnome-screenshot
- Date: Mon, 25 Aug 2008 10:22:35 +0000 (UTC)
Author: cosimoc
Date: Mon Aug 25 10:22:35 2008
New Revision: 8016
URL: http://svn.gnome.org/viewvc/gnome-utils?rev=8016&view=rev
Log:
2008-08-25 Cosimo Cecchi <cosimoc gnome org>
* screenshot-save.c: (clean_up_temporary_dir),
(read_pipe_from_child): Fix some warnings due to missing string
format placeholders.
Modified:
trunk/gnome-screenshot/ChangeLog
trunk/gnome-screenshot/screenshot-save.c
Modified: trunk/gnome-screenshot/screenshot-save.c
==============================================================================
--- trunk/gnome-screenshot/screenshot-save.c (original)
+++ trunk/gnome-screenshot/screenshot-save.c Mon Aug 25 10:22:35 2008
@@ -63,13 +63,13 @@
dialog = gtk_message_dialog_new (NULL, 0,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
- message);
+ "%s", message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
}
else
{
- g_warning (message);
+ g_warning ("%s", message);
}
g_free (message);
}
@@ -121,7 +121,7 @@
dialog = gtk_message_dialog_new (NULL, 0,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
- message);
+ "%s", message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
exit (1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]