From 2a710339cb0c2687e69e23582f91c6d01af7d5dd Mon Sep 17 00:00:00 2001 From: Peter de Ridder Date: Sun, 25 Oct 2015 16:12:35 +0100 Subject: [PATCH] Fixed compilation problems --- src/gs-monitor.c | 2 +- src/light-locker-command.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gs-monitor.c b/src/gs-monitor.c index f78a629..f0e2592 100644 --- a/src/gs-monitor.c +++ b/src/gs-monitor.c @@ -349,7 +349,7 @@ listener_resume_cb (GSListener *listener, * As a corner case this is ok. */ /* Don't switch VT while the lid is closed. */ - monitor->piv->perform_lock = TRUE; + monitor->priv->perform_lock = TRUE; } else { /* Add a 1s delay for resume to complete. * This seems to fix backlight issues. diff --git a/src/light-locker-command.c b/src/light-locker-command.c index 305883e..0c6b621 100644 --- a/src/light-locker-command.c +++ b/src/light-locker-command.c @@ -131,7 +131,7 @@ screensaver_send_message_uninhibit (GDBusConnection *connection, GDBusMessage *message; GError *error; - g_return_val_if_fail (connection != NULL, NULL); + g_return_if_fail (connection != NULL); message = g_dbus_message_new_method_call (GS_SERVICE, GS_PATH,