[epiphany] fix string format
- From: Olav Vitters <ovitters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] fix string format
- Date: Wed, 28 Sep 2011 00:01:10 +0000 (UTC)
commit ab96fd445cb6a8b707d60fb87553e4af6cf20dd5
Author: Funda Wang <fundawang gmail com>
Date: Wed Sep 28 02:00:49 2011 +0200
fix string format
embed/ephy-request-about.c | 2 +-
src/ephy-window.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/embed/ephy-request-about.c b/embed/ephy-request-about.c
index 4978002..3314427 100644
--- a/embed/ephy-request-about.c
+++ b/embed/ephy-request-about.c
@@ -74,7 +74,7 @@ read_css_style (EphyRequestAbout *about)
GError *error = NULL;
if (!g_file_get_contents (ephy_file ("about.css"), &about->priv->css_style, NULL, &error))
- g_debug (error->message);
+ g_debug ("%s", error->message);
}
static GInputStream *
diff --git a/src/ephy-window.c b/src/ephy-window.c
index dc69089..014a3a6 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -547,10 +547,10 @@ construct_confirm_close_dialog (EphyWindow *window,
GTK_DIALOG_MODAL,
GTK_MESSAGE_WARNING,
GTK_BUTTONS_CANCEL,
- title);
+ "%s", title);
gtk_message_dialog_format_secondary_text
- (GTK_MESSAGE_DIALOG (dialog), info);
+ (GTK_MESSAGE_DIALOG (dialog), "%s", info);
gtk_dialog_add_button (GTK_DIALOG (dialog),
action, GTK_RESPONSE_ACCEPT);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]