Get rid of compile warning in error.c
authorP. F. Chimento <philip.chimento@gmail.com>
Tue, 5 Apr 2011 19:37:09 +0000 (21:37 +0200)
committerP. F. Chimento <philip.chimento@gmail.com>
Tue, 5 Apr 2011 19:37:09 +0000 (21:37 +0200)
player/error.c

index c9b6f088eab5000e8eac81f8b3139f62408d677e..a2df145d4a269dc7a103d8728b405d42ad4dfafb 100644 (file)
@@ -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);