[libgrss] Removed deprecated g_thread_init() from examples



commit 9a701a85a57c4c5a1a2030d4026720df9ed6653a
Author: Roberto Guido <bob4job gmail com>
Date:   Wed Dec 25 00:00:17 2013 +0100

    Removed deprecated g_thread_init() from examples

 examples/async-fetcher.c  |    1 -
 examples/fetcher.c        |    1 -
 examples/parse-outlines.c |    1 -
 examples/subscriber.c     |    5 -----
 4 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/examples/async-fetcher.c b/examples/async-fetcher.c
index 077cecc..b8ac500 100644
--- a/examples/async-fetcher.c
+++ b/examples/async-fetcher.c
@@ -73,7 +73,6 @@ static gboolean do_work (gpointer useless)
 int main ()
 {
        g_type_init ();
-       g_thread_init (NULL);
 
        loop = g_main_loop_new (NULL, FALSE);
        g_idle_add (do_work, NULL);
diff --git a/examples/fetcher.c b/examples/fetcher.c
index 33e3db5..98711ab 100644
--- a/examples/fetcher.c
+++ b/examples/fetcher.c
@@ -56,7 +56,6 @@ int main ()
        GrssFeedsPool *pool;
 
        g_type_init ();
-       g_thread_init (NULL);
 
        list = NULL;
 
diff --git a/examples/parse-outlines.c b/examples/parse-outlines.c
index 208c258..de7d9df 100644
--- a/examples/parse-outlines.c
+++ b/examples/parse-outlines.c
@@ -43,7 +43,6 @@ main (int argc, char **argv)
        }
 
        g_type_init ();
-       g_thread_init (NULL);
 
        parser = grss_feeds_group_new ();
 
diff --git a/examples/subscriber.c b/examples/subscriber.c
index feca3ae..8aa7b3b 100644
--- a/examples/subscriber.c
+++ b/examples/subscriber.c
@@ -56,11 +56,6 @@ main ()
 
        g_type_init ();
 
-       /*
-               This is required for correct behaviour in libsoup
-       */
-       g_thread_init (NULL);
-
        list = NULL;
        printf ("Initing, please wait...\n");
        printf ("... fetching feeds...\n");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]