diff options
author | Richard Hughes <richard@hughsie.com> | 2008-08-28 15:49:19 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2008-08-28 15:49:19 +0100 |
commit | 7fdcc278dc80aa0bb07c834e0d8de5787852ecb2 (patch) | |
tree | 91c2afadfa42f96082bb9423a875f89c4b795b16 /tools/dkp-battery-power.c | |
parent | 0e2c7ef0ecb7ef924230a4e45c0b75a3937678d7 (diff) |
convert to using egg_ functionality like other projects
Diffstat (limited to 'tools/dkp-battery-power.c')
-rw-r--r-- | tools/dkp-battery-power.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/dkp-battery-power.c b/tools/dkp-battery-power.c index 49be2ca..841d735 100644 --- a/tools/dkp-battery-power.c +++ b/tools/dkp-battery-power.c @@ -1,6 +1,6 @@ #include <glib.h> #include <dbus/dbus-glib.h> -#include "dkp-debug.h" +#include "egg-debug.h" /** * main: @@ -28,11 +28,11 @@ main (int argc, char **argv) g_option_context_add_main_entries (context, entries, NULL); g_option_context_parse (context, &argc, &argv, NULL); g_option_context_free (context); - dkp_debug_init (verbose); + egg_debug_init (verbose); bus = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error); if (bus == NULL) { - dkp_warning ("Couldn't connect to system bus: %s", error->message); + egg_warning ("Couldn't connect to system bus: %s", error->message); g_error_free (error); goto out; } @@ -40,7 +40,7 @@ main (int argc, char **argv) proxy = dbus_g_proxy_new_for_name (bus, "org.freedesktop.DeviceKit.Power", "/", "org.freedesktop.DeviceKit.Power"); if (proxy == NULL) { - dkp_warning ("Couldn't connect to DeviceKit-power"); + egg_warning ("Couldn't connect to DeviceKit-power"); goto out; } @@ -49,7 +49,7 @@ main (int argc, char **argv) G_TYPE_BOOLEAN, &on_battery, G_TYPE_INVALID); if (!ret) { - dkp_debug ("GetOnBattery failed: %s", error->message); + egg_debug ("GetOnBattery failed: %s", error->message); g_error_free (error); goto out; } |