[gnome-control-center/gnome-3-20] user-accounts: Work-around "format not a string literal" error
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-20] user-accounts: Work-around "format not a string literal" error
- Date: Wed, 13 Apr 2016 11:45:50 +0000 (UTC)
commit a289bbe6e90c221452a6fa34607e47a139dc90db
Author: Bastien Nocera <hadess hadess net>
Date: Thu Apr 7 14:31:32 2016 +0200
user-accounts: Work-around "format not a string literal" error
This isn't possible to fix without quite a bit of code movement. This
will do for now though.
https://bugzilla.gnome.org/show_bug.cgi?id=764727
panels/user-accounts/um-fingerprint-dialog.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/panels/user-accounts/um-fingerprint-dialog.c b/panels/user-accounts/um-fingerprint-dialog.c
index 7729091..7aa6ecc 100644
--- a/panels/user-accounts/um-fingerprint-dialog.c
+++ b/panels/user-accounts/um-fingerprint-dialog.c
@@ -33,6 +33,8 @@
/* Translate fprintd strings */
#define TR(s) dgettext("fprintd", s)
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wformat-nonliteral"
/* This must match the number of images on the 2nd page in the UI file */
#define MAX_ENROLL_STAGES 5
@@ -757,3 +759,4 @@ fingerprint_button_clicked (GtkWindow *parent,
}
}
+#pragma GCC diagnostic pop
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]