diff options
-rw-r--r-- | cqrlogo.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -88,6 +88,11 @@ int main(int argc, char **argv) { regfree(&preg); free(pattern); + + /* initialize type system + * Since GLib 2.36, the type system is initialised automatically + * and this function does nothing. */ + g_type_init(); if ((pixbuf = encode_qrcode(http_referer)) == NULL) { if ((pixbuf = encode_qrcode(server_name)) == NULL) { |