summaryrefslogtreecommitdiff
path: root/cut-n-paste/totem-screensaver
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-02-09 15:40:35 +0300
committermonsta <[email protected]>2016-02-09 16:54:47 +0300
commit38218ebe8252b144316aa140492a7c3353a6eaed (patch)
treec8576526794000aa5c4b4d09325cd807201c495d /cut-n-paste/totem-screensaver
parentba01c808a298b201f71a82e3cc5a4f2b188c60e4 (diff)
downloadatril-38218ebe8252b144316aa140492a7c3353a6eaed.tar.bz2
atril-38218ebe8252b144316aa140492a7c3353a6eaed.tar.xz
totem-screensaver: fix assertions on entry to TotemScrsaver methods
from https://git.gnome.org/browse/totem/commit/?id=3b33d7bd88e9e69c7d45238f7f7e1027aa59ee88
Diffstat (limited to 'cut-n-paste/totem-screensaver')
-rw-r--r--cut-n-paste/totem-screensaver/totem-scrsaver.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cut-n-paste/totem-screensaver/totem-scrsaver.c b/cut-n-paste/totem-screensaver/totem-scrsaver.c
index 969b426c..25cdece0 100644
--- a/cut-n-paste/totem-screensaver/totem-scrsaver.c
+++ b/cut-n-paste/totem-screensaver/totem-scrsaver.c
@@ -495,7 +495,7 @@ totem_scrsaver_init (TotemScrsaver *scr)
void
totem_scrsaver_disable (TotemScrsaver *scr)
{
- g_return_if_fail (TOTEM_SCRSAVER (scr));
+ g_return_if_fail (TOTEM_IS_SCRSAVER (scr));
if (scr->priv->disabled != FALSE)
return;
@@ -516,7 +516,7 @@ totem_scrsaver_disable (TotemScrsaver *scr)
void
totem_scrsaver_enable (TotemScrsaver *scr)
{
- g_return_if_fail (TOTEM_SCRSAVER (scr));
+ g_return_if_fail (TOTEM_IS_SCRSAVER (scr));
if (scr->priv->disabled == FALSE)
return;
@@ -537,7 +537,7 @@ totem_scrsaver_enable (TotemScrsaver *scr)
void
totem_scrsaver_set_state (TotemScrsaver *scr, gboolean enable)
{
- g_return_if_fail (TOTEM_SCRSAVER (scr));
+ g_return_if_fail (TOTEM_IS_SCRSAVER (scr));
if (scr->priv->disabled == !enable)
return;