Add printf attribute to document_show_message() for better safety
commitcc2f1879a83aeb95bd9aa6b0d6362b32016c0432
authorColomban Wendling <ban@herbesfolles.org>
Tue, 24 Jun 2014 16:30:54 +0000 (24 18:30 +0200)
committerColomban Wendling <ban@herbesfolles.org>
Tue, 24 Jun 2014 16:30:54 +0000 (24 18:30 +0200)
treec2fb8e31b2d0c72e99448c6054bec96aff993828
parentd6382e443fa966c4333cf320db9d754d89812148
Add printf attribute to document_show_message() for better safety

Add G_GNUC_PRINTF attribute to document_show_message() so some
compilers can check the format arguments match the format string.
src/document.c