Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuhammedrafi committed Dec 6, 2024
1 parent d06aeb2 commit 80db458
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
18 changes: 0 additions & 18 deletions gdbus/NetworkManagerGdbusUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down
1 change: 0 additions & 1 deletion gdbus/NetworkManagerGdbusUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::string>& pathsList);
Expand Down

0 comments on commit 80db458

Please sign in to comment.