diff options
author | Jean-François Rameau <jframeau@cvs.gnome.org> | 2006-02-13 04:27:56 +0800 |
---|---|---|
committer | Jean-François Rameau <jframeau@src.gnome.org> | 2006-02-13 04:27:56 +0800 |
commit | 72b1517ac1a75fd39fafd83a43ca4172577fa0d8 (patch) | |
tree | 1cfe23924b5c7dd8e0e1c784f40429dbed09acb6 /src | |
parent | 4c7c5ddefbad876beb186e4f703920e7f28ab322 (diff) | |
download | gsoc2013-epiphany-72b1517ac1a75fd39fafd83a43ca4172577fa0d8.tar gsoc2013-epiphany-72b1517ac1a75fd39fafd83a43ca4172577fa0d8.tar.gz gsoc2013-epiphany-72b1517ac1a75fd39fafd83a43ca4172577fa0d8.tar.bz2 gsoc2013-epiphany-72b1517ac1a75fd39fafd83a43ca4172577fa0d8.tar.lz gsoc2013-epiphany-72b1517ac1a75fd39fafd83a43ca4172577fa0d8.tar.xz gsoc2013-epiphany-72b1517ac1a75fd39fafd83a43ca4172577fa0d8.tar.zst gsoc2013-epiphany-72b1517ac1a75fd39fafd83a43ca4172577fa0d8.zip |
Doesn't return the right variable ! Add a LOG to trace
2006-02-12 Jean-François Rameau <jframeau@cvs.gnome.org>
* src/ephy-net-monitor.c: (ephy_net_monitor_check_for_active_device):
Doesn't return the right variable !
Add a LOG to trace EphyNetworkMonitor's check for active device.
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-net-monitor.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ephy-net-monitor.c b/src/ephy-net-monitor.c index f9dfe3ed1..df550bb5e 100644 --- a/src/ephy-net-monitor.c +++ b/src/ephy-net-monitor.c @@ -152,6 +152,8 @@ ephy_net_monitor_check_for_active_device (EphyNetMonitor *monitor, DBUS_TYPE_ARRAY, DBUS_TYPE_STRING, &networks, &num_networks, DBUS_TYPE_INVALID)) { + LOG ("EphyNetMonitor found %s active device", active ? "at least 1" : "no"); + dbus_message_unref (reply); /* found one active device */ @@ -177,7 +179,7 @@ ephy_net_monitor_check_for_active_device (EphyNetMonitor *monitor, } } - return active; + return status; } /* This is the heart of Net Monitor monitor */ |