[gssdp] examples: Remove old GLib initializer



commit 0e8bbf636df92003d1c76e46ea4effb3474a2a77
Author: Jens Georg <mail jensge org>
Date:   Sun Jun 20 15:51:41 2021 +0200

    examples: Remove old GLib initializer

 examples/test-browser.c | 4 ----
 examples/test-publish.c | 4 ----
 2 files changed, 8 deletions(-)
---
diff --git a/examples/test-browser.c b/examples/test-browser.c
index 876c569..bbabf9e 100644
--- a/examples/test-browser.c
+++ b/examples/test-browser.c
@@ -45,10 +45,6 @@ main (G_GNUC_UNUSED int    argc,
         GError *error;
         GMainLoop *main_loop;
 
-#if !GLIB_CHECK_VERSION (2, 35, 0)
-        g_type_init ();
-#endif
-
         error = NULL;
         client = gssdp_client_new (NULL, &error);
         if (error) {
diff --git a/examples/test-publish.c b/examples/test-publish.c
index a817cfd..02072d5 100644
--- a/examples/test-publish.c
+++ b/examples/test-publish.c
@@ -20,10 +20,6 @@ main (G_GNUC_UNUSED int    argc,
         GError *error;
         GMainLoop *main_loop;
 
-#if !GLIB_CHECK_VERSION (2, 35, 0)
-        g_type_init ();
-#endif
-
         error = NULL;
         client = gssdp_client_new (NULL, &error);
         if (error) {


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