/** @brief Report a protocol-level error
*
* The error will not be retried. We offer a callback to the submitter of the
- * original command and if none is supplied we pop up an error box.
+ * original command and if none is supplied we drop the error message in the
+ * status bar.
*/
static void gtkclient_protocol_error(void attribute((unused)) *u,
- void *v,
+ void attribute((unused)) *v,
int code,
const char *msg) {
- struct callbackdata *cbd = v;
-
D(("gtkclient_protocol_error %s", msg));
- popup_protocol_error(code, msg);
- if(cbd && cbd->onerror)
- cbd->onerror(cbd, code, msg);
- else
- gtk_label_set_text(GTK_LABEL(report_label), msg);
++ gtk_label_set_text(GTK_LABEL(report_label), msg);
}
/** @brief Report callback from eclient */