From cfdf51a91598fdc40b245a541b0511790c22bcfb Mon Sep 17 00:00:00 2001 From: riccardom Date: Fri, 28 Nov 2008 22:38:11 +0000 Subject: [PATCH] Add missing gtk_message_dialog_new() argument, pointed out by Strontium. --- desmume/src/gtk-glade/callbacks.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/gtk-glade/callbacks.cpp b/desmume/src/gtk-glade/callbacks.cpp index 03b2d96e5..027b9afe1 100755 --- a/desmume/src/gtk-glade/callbacks.cpp +++ b/desmume/src/gtk-glade/callbacks.cpp @@ -372,8 +372,8 @@ user_data) (GtkDialogFlags) (GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT), GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, - text - ); + "%s", + text); g_signal_connect(G_OBJECT(msgbox), "response", G_CALLBACK(gtk_widget_destroy), NULL); gtk_dialog_run( msgbox );