summaryrefslogtreecommitdiff
path: root/src/dummy
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2010-11-01 11:28:31 +0000
committerRichard Hughes <richard@hughsie.com>2010-11-01 11:28:31 +0000
commit59893663fbc0b9b5951b69b99a849d4ae5a2f3fd (patch)
tree095c1acca94e25920a64635b849d4de654c1d984 /src/dummy
parented34986e08fc45e5337c3edae181c3caa23c99d2 (diff)
downloadupower-59893663fbc0b9b5951b69b99a849d4ae5a2f3fd.tar.gz
Port from EggDebug to the GLib built-in logging framework
Diffstat (limited to 'src/dummy')
-rw-r--r--src/dummy/Makefile.am1
-rw-r--r--src/dummy/up-backend.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/src/dummy/Makefile.am b/src/dummy/Makefile.am
index 053d295..d43058e 100644
--- a/src/dummy/Makefile.am
+++ b/src/dummy/Makefile.am
@@ -3,6 +3,7 @@
INCLUDES = \
-I$(top_builddir)/src -I$(top_srcdir)/src \
-DUP_COMPILATION \
+ -DG_LOG_DOMAIN=\"UPower-Dummy\" \
-I$(top_srcdir)/libupower-glib \
$(DBUS_GLIB_CFLAGS) \
$(POLKIT_CFLAGS) \
diff --git a/src/dummy/up-backend.c b/src/dummy/up-backend.c
index d60696e..834e37d 100644
--- a/src/dummy/up-backend.c
+++ b/src/dummy/up-backend.c
@@ -27,8 +27,6 @@
#include <glib/gi18n.h>
#include <gio/gio.h>
-#include "egg-debug.h"
-
#include "up-backend.h"
#include "up-daemon.h"
#include "up-marshal.h"
@@ -93,7 +91,7 @@ up_backend_add_cb (UpBackend *backend)
/* coldplug */
ret = up_device_coldplug (backend->priv->device, backend->priv->daemon, backend->priv->native);
if (!ret) {
- egg_warning ("failed to coldplug");
+ g_warning ("failed to coldplug");
goto out;
}