]> granicus.if.org Git - graphviz/commitdiff
fix gtk_message_dialog_new() usage (fc26)
authorJohn Ellson <john.ellson@comcast.net>
Sun, 5 Mar 2017 16:42:50 +0000 (11:42 -0500)
committerJohn Ellson <john.ellson@comcast.net>
Sun, 5 Mar 2017 16:42:50 +0000 (11:42 -0500)
cmd/smyrna/gui/gui.c

index 0dddc9b0f47d99b766869c8375b0de932f485623..f68d24cb509e16ba3e00f2dd369d2e3b66a5e2e7 100755 (executable)
@@ -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);