about summary refs log tree commit diff
path: root/clients/nm-online.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2018-05-11 22:08:45 +0200
committerMichael Biebl <biebl@debian.org>2018-05-11 22:08:45 +0200
commitee9c73a923909e23a649407be77e25235d769e25 (patch)
treee21c923621fa278e737da693df9eb60ea31a6067 /clients/nm-online.c
parentf60117b41d5433be1b4a96d82cd11d0c3dce9b63 (diff)
New upstream version 1.10.8 upstream/1.10.8
Diffstat (limited to 'clients/nm-online.c')
-rw-r--r--clients/nm-online.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clients/nm-online.c b/clients/nm-online.c
index 77a11321..ee0b5249 100644
--- a/clients/nm-online.c
+++ b/clients/nm-online.c
@@ -38,6 +38,8 @@
 #include <getopt.h>
 #include <locale.h>
 
+#include "NetworkManager.h"
+
 #define PROGRESS_STEPS 15
 
 #define EXIT_FAILURE_OFFLINE     1
@@ -244,6 +246,8 @@ main (int argc, char *argv[])
 	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
 	textdomain (GETTEXT_PACKAGE);
 
+	nm_g_type_init ();
+
 	data.start_timestamp_ms = _now_ms ();
 
 	opt_ctx = g_option_context_new (NULL);