diff options
-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); |