- fix compilation with format security checks.
This commit is contained in:
parent
1e117672bb
commit
c8ecfea6a0
2
README
2
README
@ -17,7 +17,7 @@ Otherwise, you need JACK with MIDI support, gtk+ 2.6 or higher,
|
|||||||
make(1), gcc and all the standard headers. Untar the file, type
|
make(1), gcc and all the standard headers. Untar the file, type
|
||||||
'make install' and that's it.
|
'make install' and that's it.
|
||||||
If Makefile is not present, you can generate it with:
|
If Makefile is not present, you can generate it with:
|
||||||
aclocal && autoheader && automake --add-missing && autoconf
|
aclocal && autoheader && automake --add-missing && autoconf && ./configure
|
||||||
|
|
||||||
How to use it?
|
How to use it?
|
||||||
--------------
|
--------------
|
||||||
|
@ -19,7 +19,7 @@ Otherwise, you need JACK with MIDI support, gtk+ 2.6 or higher,
|
|||||||
make(1), gcc and all the standard headers. Untar the file, type
|
make(1), gcc and all the standard headers. Untar the file, type
|
||||||
'make install' and that's it.
|
'make install' and that's it.
|
||||||
If Makefile is not present, you can generate it with:
|
If Makefile is not present, you can generate it with:
|
||||||
aclocal && autoheader && automake --add-missing && autoconf
|
aclocal && autoheader && automake --add-missing && autoconf && ./configure
|
||||||
|
|
||||||
## How to use it?
|
## How to use it?
|
||||||
|
|
||||||
|
@ -317,7 +317,7 @@ warning_async(gpointer s)
|
|||||||
{
|
{
|
||||||
const char *str = (const char *)s;
|
const char *str = (const char *)s;
|
||||||
|
|
||||||
g_warning(str);
|
g_warning("%s",str);
|
||||||
|
|
||||||
return (FALSE);
|
return (FALSE);
|
||||||
}
|
}
|
||||||
@ -1811,7 +1811,7 @@ log_handler(const gchar *log_domain, GLogLevelFlags log_level, const gchar *mess
|
|||||||
|
|
||||||
if ((log_level | G_LOG_LEVEL_CRITICAL) == G_LOG_LEVEL_CRITICAL) {
|
if ((log_level | G_LOG_LEVEL_CRITICAL) == G_LOG_LEVEL_CRITICAL) {
|
||||||
dialog = gtk_message_dialog_new(GTK_WINDOW(window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR,
|
dialog = gtk_message_dialog_new(GTK_WINDOW(window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR,
|
||||||
GTK_BUTTONS_CLOSE, message);
|
GTK_BUTTONS_CLOSE, "%s", message);
|
||||||
|
|
||||||
gtk_dialog_run(GTK_DIALOG(dialog));
|
gtk_dialog_run(GTK_DIALOG(dialog));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user