diff options
Diffstat (limited to 'tests/oauth.c')
-rw-r--r-- | tests/oauth.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/oauth.c b/tests/oauth.c index c1db284..639060d 100644 --- a/tests/oauth.c +++ b/tests/oauth.c @@ -33,7 +33,9 @@ main (int argc, char **argv) RestProxyCall *call; GError *error = NULL; +#if !GLIB_CHECK_VERSION (2, 36, 0) g_type_init (); +#endif /* Create the proxy */ proxy = oauth_proxy_new ("key", "secret", |