summaryrefslogtreecommitdiff
path: root/examples/post-twitter.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/post-twitter.c')
-rw-r--r--examples/post-twitter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/post-twitter.c b/examples/post-twitter.c
index 3f9cc73..061221f 100644
--- a/examples/post-twitter.c
+++ b/examples/post-twitter.c
@@ -31,7 +31,9 @@ main (int argc, char **argv)
GError *error = NULL;
char pin[256];
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
if (argc != 2) {
g_printerr ("$ post-twitter \"message\"\n");