Skip to content

Commit

Permalink
Fixed compilation problems
Browse files Browse the repository at this point in the history
  • Loading branch information
cavalier38 committed Oct 25, 2015
1 parent 57636cf commit 2a71033
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gs-monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/light-locker-command.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2a71033

Please sign in to comment.