X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fcdplay.c;h=5a305092303ce189ac35ff96649d6cb7be410ab9;hb=5862f0a7518439cde4ba73f08baabd5a972c2873;hp=deb77d50004bbf8d0754485864b7d2820a290153;hpb=3328f76314ef41a8b3763f2ffd6942cb66b245f5;p=hvgrip.git diff --git a/src/cdplay.c b/src/cdplay.c index deb77d5..5a30509 100644 --- a/src/cdplay.c +++ b/src/cdplay.c @@ -1887,8 +1887,7 @@ void UpdateTracks(GripInfo *ginfo) } if(ginfo->ask_submit) { - gnome_app_ok_cancel_modal - ((GnomeApp *)uinfo->app, + DisplayOkCancelDialog(GTK_WINDOW(uinfo->app), _("This disc has been found on your secondary server,\n" "but not on your primary server.\n\n" "Do you wish to submit this disc information?"), @@ -1900,7 +1899,7 @@ void UpdateTracks(GripInfo *ginfo) ginfo->first_time=0; } -void SubmitEntry(gint reply,gpointer data) +void SubmitEntry(gpointer data) { GripInfo *ginfo; int fd; @@ -1908,8 +1907,6 @@ void SubmitEntry(gint reply,gpointer data) char mailcmd[256]; char filename[256]; - if(reply) return; - ginfo=(GripInfo *)data; sprintf(filename,"/tmp/grip.XXXXXX");