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:
parent
65d9bd0441
commit
c92aa114b4
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue