[Github-comments] [geany-plugins] Use GLib error reporting/logging instead of fprintf() (#370)

Colomban Wendling notifications at xxxxx
Wed Feb 24 22:52:00 UTC 2016


> @@ -108,7 +108,7 @@ gpgme_error_t geanypg_passphrase_cb(void * hook,
>  
>          execvp(*argv, argv);
>          /* shouldn't get here */
> -        fprintf(stderr, "GeanyPG: %s\n%s\n", _("Could not use pinentry."), strerror(errno));
> +        g_error("%s: %s", _("Could not use pinentry."), strerror(errno));

ditto

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/370/files#r54021388
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160224/4fa9b205/attachment.html>


More information about the Github-comments mailing list