From 80db4583d8d38c7ecc763c6d110308b40b7d23fb Mon Sep 17 00:00:00 2001 From: rafi Date: Fri, 6 Dec 2024 17:53:24 +0530 Subject: [PATCH] test fix --- gdbus/NetworkManagerGdbusUtils.cpp | 18 ------------------ gdbus/NetworkManagerGdbusUtils.h | 1 - 2 files changed, 19 deletions(-) diff --git a/gdbus/NetworkManagerGdbusUtils.cpp b/gdbus/NetworkManagerGdbusUtils.cpp index 1c35ac4..6b5645e 100644 --- a/gdbus/NetworkManagerGdbusUtils.cpp +++ b/gdbus/NetworkManagerGdbusUtils.cpp @@ -139,24 +139,6 @@ namespace WPEFramework return true; } - void GnomeUtils::printKeyVariant(const char *setting_name, GVariant *setting) - { - GVariantIter iter; - const char *property_name; - GVariant *value; - char *printed_value; - - NMLOG_DEBUG(" %s:", setting_name); - g_variant_iter_init(&iter, setting); - while (g_variant_iter_next(&iter, "{&sv}", &property_name, &value)) { - printed_value = g_variant_print(value, FALSE); - if (strcmp(printed_value, "[]") != 0) - NMLOG_DEBUG(" %s: %s", property_name, printed_value); - g_free(printed_value); - g_variant_unref(value); - } - } - // TODO change this function const char* GnomeUtils::getWifiIfname() { return ifnameWlan; } const char* GnomeUtils::getEthIfname() { return ifnameEth; } diff --git a/gdbus/NetworkManagerGdbusUtils.h b/gdbus/NetworkManagerGdbusUtils.h index 00a7121..222d686 100644 --- a/gdbus/NetworkManagerGdbusUtils.h +++ b/gdbus/NetworkManagerGdbusUtils.h @@ -65,7 +65,6 @@ namespace WPEFramework { class GnomeUtils { public: - static void printKeyVariant(const char *setting_name, GVariant *setting); static bool getDeviceByIpIface(DbusMgr& m_dbus, const gchar *iface_name, std::string& path); static bool getApDetails(DbusMgr& m_dbus, const char* apPath, Exchange::INetworkManager::WiFiSSIDInfo& wifiInfo); static bool getConnectionPaths(DbusMgr& m_dbus, std::list& pathsList);