diff options
author | Stefano Karapetsas <[email protected]> | 2013-07-24 19:59:05 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-07-24 19:59:05 +0200 |
commit | 3be92767b85acabf1f30e010cca425d322b89de2 (patch) | |
tree | a2b95e572dad332a349cc9b17c1c7f2dac33499c /src/gpm-control.c | |
parent | 147f55213c2592b118d16bb813041768769cf61b (diff) | |
download | mate-power-manager-3be92767b85acabf1f30e010cca425d322b89de2.tar.bz2 mate-power-manager-3be92767b85acabf1f30e010cca425d322b89de2.tar.xz |
Code improvements and deprecation fixesmate-power-manager-1.6.2
Diffstat (limited to 'src/gpm-control.c')
-rw-r--r-- | src/gpm-control.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gpm-control.c b/src/gpm-control.c index d7ba36c..cb84814 100644 --- a/src/gpm-control.c +++ b/src/gpm-control.c @@ -95,7 +95,7 @@ gpm_control_error_quark (void) static gboolean gpm_control_systemd_shutdown (void) { GError *error = NULL; - DBusGProxy *proxy; + GDBusProxy *proxy; egg_debug ("Requesting systemd to shutdown"); proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM, @@ -217,8 +217,7 @@ gpm_control_suspend (GpmControl *control, GError **error) #endif /* WITH_KEYRING */ GError *dbus_error = NULL; - DBusGProxy *proxy; - GVariant *res; + GDBusProxy *proxy; screensaver = gpm_screensaver_new (); @@ -329,7 +328,7 @@ gpm_control_hibernate (GpmControl *control, GError **error) #endif /* WITH_KEYRING */ GError *dbus_error = NULL; - DBusGProxy *proxy; + GDBusProxy *proxy; screensaver = gpm_screensaver_new (); |