X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fdiscedit.c;fp=src%2Fdiscedit.c;h=d9537416cf28a860876786a2b5cd7e081669ff78;hb=64cdc5a741a2ab7cb8666e81be138657a0fea46e;hp=4b7baa4d1297b4600ab8d5c26cbeef6285af96fd;hpb=3328f76314ef41a8b3763f2ffd6942cb66b245f5;p=hvgrip.git diff --git a/src/discedit.c b/src/discedit.c index 4b7baa4..d953741 100644 --- a/src/discedit.c +++ b/src/discedit.c @@ -570,19 +570,17 @@ static void SubmitEntryCB(GtkWidget *widget,gpointer data) len=strlen(ginfo->discdb_submit_email); if(!strncasecmp(ginfo->discdb_submit_email+(len-9),".cddb.com",9)) - gnome_app_ok_cancel_modal - ((GnomeApp *)ginfo->gui_info.app, + DisplayOkCancelDialog(GTK_WINDOW(ginfo->gui_info.app), _("You are about to submit this disc information\n" "to a commercial CDDB server, which will then\n" "own the data that you submit. These servers make\n" "a profit out of your effort. We suggest that you\n" "support free servers instead.\n\nContinue?"), - (GnomeReplyCallback)SubmitEntry,(gpointer)ginfo); + SubmitEntry, (gpointer)ginfo); else - gnome_app_ok_cancel_modal - ((GnomeApp *)ginfo->gui_info.app, + DisplayOkCancelDialog(GTK_WINDOW(ginfo->gui_info.app), _("You are about to submit this\ndisc information via email.\n\n" - "Continue?"),(GnomeReplyCallback)SubmitEntry,(gpointer)ginfo); + "Continue?"), SubmitEntry, (gpointer)ginfo); } /* Make the user pick a DiscDB genre on submit*/