[adg-demo] Use string literals in g_critical()
commit43029faa3408dde280fa5d76ab29a055107db9bb
authorNicola Fontana <ntd@entidi.it>
Tue, 11 May 2010 13:10:51 +0000 (11 15:10 +0200)
committerNicola Fontana <ntd@entidi.it>
Tue, 11 May 2010 13:10:51 +0000 (11 15:10 +0200)
tree72a3f82e82fa7445aaca8a3df74f0a4d02204945
parentdce42f5ad39d1f53d9e8acc4d05bc6ac87f0b3aa
[adg-demo] Use string literals in g_critical()

Avoid passing an error message to the format string directly, as it
could embed some escape sequence. Using a "%s" resolves the issue.
demo/adg-demo.c