diff options
| author | SND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-04-15 18:08:17 +0000 |
|---|---|---|
| committer | SND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-04-15 18:08:17 +0000 |
| commit | 412c93bcc3ab2ea2dab8112eaf910bd8d8eecd9e (patch) | |
| tree | 73b790cced6a79d094fa4908de87a0a9b37d5bd5 /gui | |
| parent | bd3bd2ec301494a9ae3a97e84e88b4dfd382a074 (diff) | |
Fixed gtk notice dialog hiding.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@89979 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'gui')
| -rwxr-xr-x | gui/GtkGui.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gui/GtkGui.c b/gui/GtkGui.c index e854a642..b671d8d6 100755 --- a/gui/GtkGui.c +++ b/gui/GtkGui.c @@ -1168,8 +1168,14 @@ void SysMessage(const char *fmt, ...) { gtk_widget_show (Txt); gtk_widget_show_all (MsgDlg); - gtk_dialog_run (GTK_DIALOG(MsgDlg)); - gtk_widget_destroy (MsgDlg); + + g_signal_connect_swapped(G_OBJECT(MsgDlg), "destroy", G_CALLBACK(gtk_main_quit), NULL); + g_signal_connect_swapped (MsgDlg, + "response", + G_CALLBACK (gtk_widget_destroy), + MsgDlg); + + gtk_main(); } void SysErrorMessage(gchar *primary, gchar *secondary) { |
