[totem] Fix assertions on entry to TotemScrsaver methods
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] Fix assertions on entry to TotemScrsaver methods
- Date: Wed, 9 Mar 2011 22:30:12 +0000 (UTC)
commit 3b33d7bd88e9e69c7d45238f7f7e1027aa59ee88
Author: Philip Withnall <philip tecnocode co uk>
Date: Wed Mar 9 22:27:30 2011 +0000
Fix assertions on entry to TotemScrsaver methods
lib/totem-scrsaver.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lib/totem-scrsaver.c b/lib/totem-scrsaver.c
index 07c21c2..008dffb 100644
--- a/lib/totem-scrsaver.c
+++ b/lib/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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]