[gnome-session] fix string format
- From: Olav Vitters <ovitters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session] fix string format
- Date: Tue, 27 Sep 2011 23:54:59 +0000 (UTC)
commit 3a866bc6f4df218bfa8d4f5a90163ba70fe8d145
Author: Dexter Morgan <dmorganec gmail com>
Date: Wed Sep 28 01:54:18 2011 +0200
fix string format
gnome-session/gsm-manager.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-session/gsm-manager.c b/gnome-session/gsm-manager.c
index 4d111ea..94a8143 100644
--- a/gnome-session/gsm-manager.c
+++ b/gnome-session/gsm-manager.c
@@ -1344,7 +1344,7 @@ show_fallback_dialog (const char *title,
dialog = gtk_message_dialog_new (NULL, 0,
GTK_MESSAGE_WARNING,
GTK_BUTTONS_CLOSE,
- title);
+ "%s", title);
gtk_window_set_icon_name (GTK_WINDOW (dialog), GSM_ICON_COMPUTER_FAIL);
@@ -1354,7 +1354,7 @@ show_fallback_dialog (const char *title,
if (description) {
gtk_message_dialog_format_secondary_markup (GTK_MESSAGE_DIALOG (dialog),
- description);
+ "%s", description);
}
hbox = gtk_message_dialog_get_message_area (GTK_MESSAGE_DIALOG (dialog));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]