[gupnp] Removed the deprecated calls to g_thread_init()



commit accefb9b5aad10226ffa8f51e3ef23500b095a3d
Author: Riko Yamada <rik0yamada yahoo co jp>
Date:   Wed Mar 28 16:52:43 2012 -0500

    Removed the deprecated calls to g_thread_init()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=673100

 doc/client-tutorial.xml    |    1 -
 doc/server-tutorial.xml    |    1 -
 examples/light-client.c    |    1 -
 examples/light-server.c    |    1 -
 tests/test-browsing.c      |    1 -
 tests/test-introspection.c |    1 -
 tests/test-proxy.c         |    1 -
 tests/test-server.c        |    1 -
 8 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/doc/client-tutorial.xml b/doc/client-tutorial.xml
index e764606..4a60e3b 100644
--- a/doc/client-tutorial.xml
+++ b/doc/client-tutorial.xml
@@ -47,7 +47,6 @@ main (int argc, char **argv)
   GUPnPControlPoint *cp;
   
   /* Required initialisation */
-  g_thread_init (NULL);
   g_type_init ();
 
   /* Create a new GUPnP Context.  By here we are using the default GLib main
diff --git a/doc/server-tutorial.xml b/doc/server-tutorial.xml
index 1dd4317..66cd872 100644
--- a/doc/server-tutorial.xml
+++ b/doc/server-tutorial.xml
@@ -129,7 +129,6 @@
     </para>
     <programlisting>GUPnPContext *context;
 /* Initialize required subsystems */
-g_thread_init (NULL);
 g_type_init ();
 /* Create the GUPnP context with default host and port */
 context = gupnp_context_new (NULL, NULL, 0, NULL);</programlisting>
diff --git a/examples/light-client.c b/examples/light-client.c
index 1e6825d..2944c2a 100644
--- a/examples/light-client.c
+++ b/examples/light-client.c
@@ -77,7 +77,6 @@ main (int argc, char **argv)
   GUPnPContext *context;
   GUPnPControlPoint *cp;
 
-  g_thread_init (NULL);
   g_type_init ();
 
   /* Check and parse command line arguments */
diff --git a/examples/light-server.c b/examples/light-server.c
index dc416c5..7b7caba 100644
--- a/examples/light-server.c
+++ b/examples/light-server.c
@@ -109,7 +109,6 @@ main (int argc, char **argv)
   GUPnPRootDevice *dev;
   GUPnPServiceInfo *service;
   
-  g_thread_init (NULL);
   g_type_init ();
 
   /* By default the light is off */
diff --git a/tests/test-browsing.c b/tests/test-browsing.c
index 2d27fc2..199fbee 100644
--- a/tests/test-browsing.c
+++ b/tests/test-browsing.c
@@ -97,7 +97,6 @@ main (int argc, char **argv)
         GUPnPControlPoint *cp;
         struct sigaction sig_action;
 
-        g_thread_init (NULL);
         g_type_init ();
         setlocale (LC_ALL, "");
 
diff --git a/tests/test-introspection.c b/tests/test-introspection.c
index e02b262..be8a50a 100644
--- a/tests/test-introspection.c
+++ b/tests/test-introspection.c
@@ -253,7 +253,6 @@ main (int argc, char **argv)
                 return EXIT_FAILURE;
         }
 		
-        g_thread_init (NULL);
         g_type_init ();
 
         error = NULL;
diff --git a/tests/test-proxy.c b/tests/test-proxy.c
index f465f3a..a3b1c0a 100644
--- a/tests/test-proxy.c
+++ b/tests/test-proxy.c
@@ -153,7 +153,6 @@ main (int argc, char **argv)
         GUPnPControlPoint *cp;
         struct sigaction sig_action;
 
-        g_thread_init (NULL);
         g_type_init ();
         setlocale (LC_ALL, "");
 
diff --git a/tests/test-server.c b/tests/test-server.c
index 9eb96a2..578c154 100644
--- a/tests/test-server.c
+++ b/tests/test-server.c
@@ -70,7 +70,6 @@ main (int argc, char **argv)
                 return EXIT_FAILURE;
         }
 
-        g_thread_init (NULL);
         g_type_init ();
         setlocale (LC_ALL, "");
 



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