Commit 6682d349 authored by John Ellson's avatar John Ellson

fix gtk_message_dialog_new() usage (fc26)

parent 0843f5b9
......@@ -379,7 +379,7 @@ void show_gui_warning(char *str)
Dlg = (GtkMessageDialog *) gtk_message_dialog_new(NULL,
GTK_DIALOG_MODAL,
GTK_MESSAGE_WARNING,
GTK_BUTTONS_OK, str);
GTK_BUTTONS_OK, "%s", str);
respond = gtk_dialog_run((GtkDialog *) Dlg);
gtk_object_destroy((GtkObject *) Dlg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment