diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-13 03:40:12 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-13 03:40:12 +0000 |
| commit | 0d1d9bece31f605d4aa68b20f3ecb19cd0db2d3d (patch) | |
| tree | aa8228a939d9c813626e71f937b56b2280f2fc86 /plugins/dfcdrom | |
| parent | 53eb8b20be0ed97773df48ce9788e617ad876e50 (diff) | |
| download | pcsxr-0d1d9bece31f605d4aa68b20f3ecb19cd0db2d3d.tar.gz | |
added netplay plugin
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47937 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfcdrom')
| -rw-r--r-- | plugins/dfcdrom/cdrcfg-0.1df/main.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/plugins/dfcdrom/cdrcfg-0.1df/main.c b/plugins/dfcdrom/cdrcfg-0.1df/main.c index 55172d20..c78558fd 100644 --- a/plugins/dfcdrom/cdrcfg-0.1df/main.c +++ b/plugins/dfcdrom/cdrcfg-0.1df/main.c @@ -202,11 +202,6 @@ long CDRconfigure() { return 0; } -static void OnAboutExit(GtkWidget *widget, gpointer user_data) { - gtk_widget_destroy(widget); - gtk_exit(0); -} - void CDRabout() { GtkWidget *widget; const char *authors[]= {"linuzappz <linuzappz@hotmail.com>", @@ -218,11 +213,8 @@ void CDRabout() { gtk_about_dialog_set_authors(GTK_ABOUT_DIALOG(widget), authors); gtk_about_dialog_set_website(GTK_ABOUT_DIALOG(widget), "http://pcsxr.codeplex.com/"); - g_signal_connect_data(GTK_OBJECT(widget), "response", - GTK_SIGNAL_FUNC(OnAboutExit), NULL, NULL, G_CONNECT_AFTER); - - gtk_widget_show(widget); - gtk_main(); + gtk_dialog_run(GTK_DIALOG(widget)); + gtk_widget_destroy(widget); } #endif |
