diff options
author | Bastien Nocera <hadess@hadess.net> | 2009-10-16 17:56:52 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2009-10-16 17:59:50 +0100 |
commit | 38cf9321450187fe91d0b76ca65014595b6a1be8 (patch) | |
tree | 9449803a36b8e3d55a38031059658a3cc310d798 /lib | |
parent | a2deaf3a6cad2cecfdb3dac47562cef2062be27c (diff) | |
download | totem-38cf9321450187fe91d0b76ca65014595b6a1be8.tar.gz |
Fix disabling of the screensaver in the browser plugin
Did this ever work? Probably not...
https://bugzilla.gnome.org/show_bug.cgi?id=554750
Diffstat (limited to 'lib')
-rw-r--r-- | lib/totem-scrsaver.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/totem-scrsaver.c b/lib/totem-scrsaver.c index 6854ed4ee..0888532e7 100644 --- a/lib/totem-scrsaver.c +++ b/lib/totem-scrsaver.c @@ -433,8 +433,7 @@ totem_scrsaver_set_state (TotemScrsaver *scr, gboolean enable) if (scr->priv->disabled == !enable) return; - scr->priv->disabled = !enable; - if (scr->priv->disabled != FALSE) + if (enable == FALSE) totem_scrsaver_disable (scr); else totem_scrsaver_enable (scr); |