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
This commit is contained in:
Bastien Nocera 2016-04-07 14:31:32 +02:00
parent 65d9bd0441
commit c92aa114b4

View file

@ -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