summaryrefslogtreecommitdiff
path: root/src/gpm-networkmanager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpm-networkmanager.c')
-rw-r--r--src/gpm-networkmanager.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gpm-networkmanager.c b/src/gpm-networkmanager.c
index add8fc0..e882b54 100644
--- a/src/gpm-networkmanager.c
+++ b/src/gpm-networkmanager.c
@@ -27,7 +27,6 @@
#include <dbus/dbus-glib.h>
#include "gpm-networkmanager.h"
-#include "egg-debug.h"
#define NM_LISTENER_SERVICE "org.freedesktop.NetworkManager"
#define NM_LISTENER_PATH "/org/freedesktop/NetworkManager"
@@ -49,7 +48,7 @@ gpm_networkmanager_sleep (void)
connection = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error);
if (error) {
- egg_warning ("%s", error->message);
+ g_warning ("%s", error->message);
g_error_free (error);
return FALSE;
}
@@ -59,7 +58,7 @@ gpm_networkmanager_sleep (void)
NM_LISTENER_PATH,
NM_LISTENER_INTERFACE);
if (!nm_proxy) {
- egg_warning ("Failed to get name owner");
+ g_warning ("Failed to get name owner");
return FALSE;
}
dbus_g_proxy_call_no_reply (nm_proxy, "sleep", G_TYPE_INVALID);
@@ -83,7 +82,7 @@ gpm_networkmanager_wake (void)
connection = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error);
if (error) {
- egg_warning ("%s", error->message);
+ g_warning ("%s", error->message);
g_error_free (error);
return FALSE;
}
@@ -93,7 +92,7 @@ gpm_networkmanager_wake (void)
NM_LISTENER_PATH,
NM_LISTENER_INTERFACE);
if (!nm_proxy) {
- egg_warning ("Failed to get name owner");
+ g_warning ("Failed to get name owner");
return FALSE;
}
dbus_g_proxy_call_no_reply (nm_proxy, "wake", G_TYPE_INVALID);