Don't call non-working functions. This allows to use stdout for
debugging instead of error messages.
>From 3f2fd350ea1fd3080c431e6c085ae73b183d6691 Mon Sep 17 00:00:00 2001
From: Stefan Schmidt <[EMAIL PROTECTED]>
Date: Wed, 12 Mar 2008 20:12:33 +0100
Subject: [PATCH 2/8] Don't call non-working functions

Don't call non-working functions. This allows to use stdout for debugging
instead of error messages.
---
 src/bin/nm.c |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/src/bin/nm.c b/src/bin/nm.c
index 116a235..7c2e490 100644
--- a/src/bin/nm.c
+++ b/src/bin/nm.c
@@ -157,15 +157,7 @@ cb_manager_get_devices(void *data, void *reply, DBusError *err)
    printf("Got devices:\n");
    while ((dev = ecore_list_next(app->devices)))
      {
-	printf("  %s\n", dev);
-	e_nm_device_get_name(app->ctx, dev, cb_manager_get_name, app);
-	e_nm_device_get_type(app->ctx, dev, cb_manager_get_type, app);
-	e_nm_device_get_hal_udi(app->ctx, dev, cb_manager_get_hal_udi, app);
-	e_nm_device_get_ip4_address(app->ctx, dev, cb_manager_get_ip4_address, app);
-	e_nm_device_get_link_active(app->ctx, dev, cb_manager_get_link_active, app);
-	e_nm_device_wireless_get_strength(app->ctx, dev, cb_manager_wireless_get_strength, app);
-	e_nm_device_wireless_get_active_network(app->ctx, dev, cb_manager_wireless_get_active_network, app);
-	e_nm_device_wireless_get_networks(app->ctx, dev, cb_manager_wireless_get_networks, app);
+	    printf("%s\n", dev);
      }
 }
 
-- 
1.5.4.3

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to