diff options
author | monsta <[email protected]> | 2016-02-09 15:40:35 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-02-09 15:40:35 +0300 |
commit | 27f385fb91d3a0a974c129ef22b744a849c15c62 (patch) | |
tree | c6db4d48e780208a652fa872e2bd95300e9d76c3 /cut-n-paste | |
parent | df5007106d3e0c953d74592dd3b3917d76049942 (diff) | |
download | eom-27f385fb91d3a0a974c129ef22b744a849c15c62.tar.bz2 eom-27f385fb91d3a0a974c129ef22b744a849c15c62.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 969b426..25cdece 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; |