summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-10-23 14:39:44 +0100
committerRichard Hughes <richard@hughsie.com>2008-10-23 14:39:44 +0100
commita1a4304b4e17803c5b919520e846dd019725c0aa (patch)
tree7efa9af257a2cc9eda957da89efe6e05a2304636
parentc87521af72498c17cd0bf4fe5c864b6f019a8159 (diff)
trivial: egg updates
-rw-r--r--libdevkit-power/dkp-enum.h1
-rw-r--r--src/egg-debug.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/libdevkit-power/dkp-enum.h b/libdevkit-power/dkp-enum.h
index 3838de4..5489665 100644
--- a/libdevkit-power/dkp-enum.h
+++ b/libdevkit-power/dkp-enum.h
@@ -62,7 +62,6 @@ const gchar *dkp_device_technology_to_text (DkpDeviceTechnology technology_enum
DkpDeviceType dkp_device_type_from_text (const gchar *type);
DkpDeviceState dkp_device_state_from_text (const gchar *state);
DkpDeviceTechnology dkp_device_technology_from_text (const gchar *technology);
-DkpDeviceTechnology dkp_acpi_to_device_technology (const char *type);
G_END_DECLS
diff --git a/src/egg-debug.c b/src/egg-debug.c
index 3920add..abe5415 100644
--- a/src/egg-debug.c
+++ b/src/egg-debug.c
@@ -279,9 +279,9 @@ void
egg_debug_set_logging (gboolean enabled)
{
if (enabled)
- g_setenv (EGG_LOGGING, "1", FALSE);
+ g_setenv (EGG_LOGGING, "1", TRUE);
else
- g_setenv (EGG_LOGGING, "0", FALSE);
+ g_setenv (EGG_LOGGING, "0", TRUE);
if (egg_debug_is_logging ())
egg_debug ("logging to %s", EGG_LOG_FILE);