Skip to content
Commit 2dc30964 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

screensaver: Only try to inhibit once

This stops plenty of warnings appearing on the command-line when
gtk_application_inhibit() fails. It can fail for a number of reasons,
but the documentation's only hint is:
If the platform does not support inhibiting or the request failed for
some reason, 0 is returned.

So only try to disable the screensaver once.

https://bugzilla.gnome.org/show_bug.cgi?id=721054

Conflicts:
	src/plugins/screensaver/totem-screensaver.c
parent 651315a6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment