[network-manager-openvpn] tests: remove unused D-Bus and keyring references from test-import-export.c



commit d34068b8ef54b80902d5197afb8160aae6f26655
Author: JiÅÃ KlimeÅ <jklimes redhat com>
Date:   Fri Nov 2 13:25:52 2012 +0100

    tests: remove unused D-Bus and keyring references from test-import-export.c

 properties/tests/Makefile.am          |    6 +-----
 properties/tests/test-import-export.c |    3 ---
 2 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/properties/tests/Makefile.am b/properties/tests/Makefile.am
index 7ad8c2f..823f896 100644
--- a/properties/tests/Makefile.am
+++ b/properties/tests/Makefile.am
@@ -10,15 +10,11 @@ test_import_export_SOURCES = \
 test_import_export_CPPFLAGS = \
 	$(GLIB_CFLAGS) \
 	$(GTK_CFLAGS) \
-	$(GNOMEKEYRING_CFLAGS) \
-	$(NM_CFLAGS) \
-	$(DBUS_CFLAGS)
+	$(NM_CFLAGS)
 
 test_import_export_LDADD = \
 	$(GTHREAD_LIBS) \
 	$(GTK_LIBS) \
-	$(GNOMEKEYRING_LIBS) \
-	$(DBUS_LIBS) \
 	$(NM_LIBS) \
 	$(top_builddir)/properties/libnm-openvpn-properties.la
 
diff --git a/properties/tests/test-import-export.c b/properties/tests/test-import-export.c
index 5f6372d..025b12d 100644
--- a/properties/tests/test-import-export.c
+++ b/properties/tests/test-import-export.c
@@ -19,8 +19,6 @@
  */
 
 #include <string.h>
-#include <dbus/dbus.h>
-#include <dbus/dbus-glib.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <locale.h>
@@ -957,7 +955,6 @@ int main (int argc, char **argv)
 		FAIL ("args", "usage: %s <conf path> <tmp dir>", argv[0]);
 
 	g_type_init ();
-	dbus_g_bus_get (DBUS_BUS_SESSION, NULL);
 
 	if (!nm_utils_init (&error))
 		FAIL ("nm-utils-init", "failed to initialize libnm-util: %s", error->message);



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