diff options
author | monsta <[email protected]> | 2016-02-09 15:40:35 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-02-09 16:54:47 +0300 |
commit | 38218ebe8252b144316aa140492a7c3353a6eaed (patch) | |
tree | c8576526794000aa5c4b4d09325cd807201c495d /cut-n-paste | |
parent | ba01c808a298b201f71a82e3cc5a4f2b188c60e4 (diff) | |
download | atril-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')
-rw-r--r-- | cut-n-paste/totem-screensaver/totem-scrsaver.c | 6 |
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; |