[gtranslator] Fix build error with -Werror=format-security.
- From: Jordi Mallach <jordim src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator] Fix build error with -Werror=format-security.
- Date: Fri, 27 Apr 2012 18:10:46 +0000 (UTC)
commit 26ae99e64773edc78ea2d86fe1e6535d5a06c0a8
Author: Jordi Mallach <jordi sindominio net>
Date: Fri Apr 27 20:10:14 2012 +0200
Fix build error with -Werror=format-security.
src/gtr-profile-dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gtr-profile-dialog.c b/src/gtr-profile-dialog.c
index 035735f..56862c2 100644
--- a/src/gtr-profile-dialog.c
+++ b/src/gtr-profile-dialog.c
@@ -99,7 +99,7 @@ gtr_profile_dialog_init (GtrProfileDialog *dlg)
root_objects, &error);
if (error)
{
- g_message(error->message);
+ g_message("%s", error->message);
}
priv->main_box = GTK_WIDGET (gtk_builder_get_object (builder, "main_box"));
g_object_ref (priv->main_box);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]