From: P. F. Chimento Date: Tue, 5 Apr 2011 19:37:09 +0000 (+0200) Subject: Get rid of compile warning in error.c X-Git-Tag: v0.9~113 X-Git-Url: https://git.stderr.nl/gitweb?p=projects%2Fchimara%2Fchimara.git;a=commitdiff_plain;h=3710f981a4b023563c4ce06634f7f5b292c24657 Get rid of compile warning in error.c --- diff --git a/player/error.c b/player/error.c index c9b6f08..a2df145 100644 --- a/player/error.c +++ b/player/error.c @@ -45,7 +45,7 @@ error_dialog(GtkWindow *parent, GError *err, const gchar *msg, ...) parent? GTK_DIALOG_DESTROY_WITH_PARENT : 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, - message); + "%s", message); gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); g_free(message);