Fixed gtk notice dialog hiding.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@89979 e17a0e51-4ae3-4d35-97c3-1a29b211df97
This commit is contained in:
parent
bd3bd2ec30
commit
412c93bcc3
10
gui/GtkGui.c
10
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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user