diff options
author | rbuj <[email protected]> | 2020-03-08 03:00:43 +0100 |
---|---|---|
committer | ZenWalker <[email protected]> | 2020-03-11 19:18:11 +0100 |
commit | e910d0b7cdb1ebe9b7ec7f30e3a0e259596ce3af (patch) | |
tree | 853c137b6e54d37f2be0fd9a8b030c25e19b9438 /src | |
parent | bc2ce04e354fa82844ebc29e14182e3371c0d0c6 (diff) | |
download | mate-power-manager-e910d0b7cdb1ebe9b7ec7f30e3a0e259596ce3af.tar.bz2 mate-power-manager-e910d0b7cdb1ebe9b7ec7f30e3a0e259596ce3af.tar.xz |
gpm-control: warning when a property cannot be set using dbus
Diffstat (limited to 'src')
-rw-r--r-- | src/gpm-control.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gpm-control.c b/src/gpm-control.c index 5f9d528..4834a05 100644 --- a/src/gpm-control.c +++ b/src/gpm-control.c @@ -103,7 +103,7 @@ gpm_control_systemd_shutdown (void) { &error ); //append all our arguments if (proxy == NULL) { - g_error("Error connecting to dbus - %s", error->message); + g_warning ("Error connecting to dbus - %s", error->message); g_error_free (error); return FALSE; } @@ -116,7 +116,7 @@ gpm_control_systemd_shutdown (void) { &error ); if (error != NULL) { - g_error ("Error in dbus - %s", error->message); + g_warning ("Error in dbus - %s", error->message); g_error_free (error); return FALSE; } @@ -268,7 +268,7 @@ gpm_control_suspend (GpmControl *control, GError **error) NULL, &dbus_error ); if (proxy == NULL) { - g_error ("Error connecting to dbus - %s", dbus_error->message); + g_warning ("Error connecting to dbus - %s", dbus_error->message); g_error_free (dbus_error); ret = FALSE; goto out; @@ -281,7 +281,7 @@ gpm_control_suspend (GpmControl *control, GError **error) &dbus_error ); if (dbus_error != NULL ) { - g_debug ("Error in dbus - %s", dbus_error->message); + g_warning ("Error in dbus - %s", dbus_error->message); g_error_free (dbus_error); ret = TRUE; } @@ -386,7 +386,7 @@ gpm_control_hibernate (GpmControl *control, GError **error) NULL, &dbus_error ); if (proxy == NULL) { - g_error ("Error connecting to dbus - %s", dbus_error->message); + g_warning ("Error connecting to dbus - %s", dbus_error->message); g_error_free (dbus_error); ret = FALSE; goto out; @@ -399,7 +399,7 @@ gpm_control_hibernate (GpmControl *control, GError **error) &dbus_error ); if (dbus_error != NULL ) { - g_debug ("Error in dbus - %s", dbus_error->message); + g_warning ("Error in dbus - %s", dbus_error->message); g_error_free (dbus_error); ret = TRUE; } |