summaryrefslogtreecommitdiff
path: root/examples/get-flickr-favorites.c
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2012-01-03 14:59:08 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2012-06-16 11:05:56 +0200
commit7ca54a3faae13ae505e521182a8c368fe4c619a9 (patch)
treea5cccfd3b2868481d353c83bf0b387044fe4d41b /examples/get-flickr-favorites.c
parent4e98bedef030b6163bb8d3d26053447a4f97f61a (diff)
downloadlibrest-7ca54a3faae13ae505e521182a8c368fe4c619a9.tar.gz
Drop obsolete g_thread_init()
Since version 2.2 g_type_init() initializes also the thread system so g_thread_init() is not required anymore. It is deprecated since glib 2.31. Bump glib requirement accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=650061
Diffstat (limited to 'examples/get-flickr-favorites.c')
-rw-r--r--examples/get-flickr-favorites.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/get-flickr-favorites.c b/examples/get-flickr-favorites.c
index 5d4e802..956789b 100644
--- a/examples/get-flickr-favorites.c
+++ b/examples/get-flickr-favorites.c
@@ -106,7 +106,6 @@ main (int argc, char **argv)
char *frob, *url;
const char *token;
- g_thread_init (NULL);
g_type_init ();
proxy = flickr_proxy_new ("cf4e02fc57240a9b07346ad26e291080", "cdfa2329cb206e50");