diff options
author | Funda Wang <fundawang@gmail.com> | 2011-09-28 08:00:49 +0800 |
---|---|---|
committer | Olav Vitters <olav@vitters.nl> | 2011-09-28 08:00:49 +0800 |
commit | ab96fd445cb6a8b707d60fb87553e4af6cf20dd5 (patch) | |
tree | 34847a88fbac76f95181a420b721eb6247bfc09e | |
parent | b3e49495eade981bfd4685b017483ab4a39cfe99 (diff) | |
download | gsoc2013-epiphany-ab96fd445cb6a8b707d60fb87553e4af6cf20dd5.tar.gz gsoc2013-epiphany-ab96fd445cb6a8b707d60fb87553e4af6cf20dd5.tar.zst gsoc2013-epiphany-ab96fd445cb6a8b707d60fb87553e4af6cf20dd5.zip |
fix string format
-rw-r--r-- | embed/ephy-request-about.c | 2 | ||||
-rw-r--r-- | 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 497800289..331442729 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 dc69089de..014a3a670 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); |