summaryrefslogtreecommitdiff
path: root/examples/C/glib/list-connections-libnm.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/C/glib/list-connections-libnm.c')
-rw-r--r--examples/C/glib/list-connections-libnm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/C/glib/list-connections-libnm.c b/examples/C/glib/list-connections-libnm.c
index 5dc38201ab..1b3ed8d17d 100644
--- a/examples/C/glib/list-connections-libnm.c
+++ b/examples/C/glib/list-connections-libnm.c
@@ -69,11 +69,6 @@ main (int argc, char *argv[])
const GPtrArray *connections;
int i;
-#if !GLIB_CHECK_VERSION (2, 35, 0)
- /* Initialize GType system */
- g_type_init ();
-#endif
-
if (!(client = nm_client_new (NULL, &error))) {
g_message ("Error: Could not connect to NetworkManager: %s.", error->message);
g_error_free (error);