NetworkManager r3891 - trunk/src
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r3891 - trunk/src
- Date: Mon, 4 Aug 2008 16:04:00 +0000 (UTC)
Author: dcbw
Date: Mon Aug 4 16:04:00 2008
New Revision: 3891
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3891&view=rev
Log:
Don't use glib 2.16 stuff
Modified:
trunk/src/nm-device-wifi.c
Modified: trunk/src/nm-device-wifi.c
==============================================================================
--- trunk/src/nm-device-wifi.c (original)
+++ trunk/src/nm-device-wifi.c Mon Aug 4 16:04:00 2008
@@ -3416,7 +3416,8 @@
return;
if (enabled) {
- g_warn_if_fail (state == NM_DEVICE_STATE_UNAVAILABLE);
+ if (state != NM_DEVICE_STATE_UNAVAILABLE);
+ nm_warning ("not in expected unavailable state!");
if (!nm_device_hw_bring_up (NM_DEVICE (self), TRUE)) {
/* The device sucks, or HAL was lying to us about the killswitch state */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]