mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
1a90e3d6fb
- Remove TODO from DOCS - Add patches, fix bad C++ and GTK code - Change pkg-plist, proper use @group and @mode
20 lines
946 B
C
20 lines
946 B
C
--- ./src/gtkutils.c.orig 2003-05-26 15:34:38.000000000 +0200
|
|
+++ ./src/gtkutils.c 2014-03-30 20:05:17.338033553 +0200
|
|
@@ -112,14 +112,14 @@
|
|
|
|
/* shows simple message box */
|
|
void ut_simple_message_box(gchar *message) {
|
|
- GtkWidget *dialog = gtk_message_dialog_new(NULL, 0, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, message);
|
|
+ GtkWidget *dialog = gtk_message_dialog_new(NULL, 0, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, "%s", message);
|
|
gtk_dialog_run(GTK_DIALOG(dialog));
|
|
gtk_widget_destroy(dialog);
|
|
}
|
|
|
|
/* shows simple message box */
|
|
void ut_simple_message_box_with_title(gchar *message, gchar *title) {
|
|
- GtkWidget *dialog = gtk_message_dialog_new(NULL, 0, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, message);
|
|
+ GtkWidget *dialog = gtk_message_dialog_new(NULL, 0, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, "%s", message);
|
|
gtk_window_set_title(GTK_WINDOW(dialog), title);
|
|
gtk_dialog_run(GTK_DIALOG(dialog));
|
|
gtk_widget_destroy(dialog);
|