--- totem-scrsaver.c_org	2006-10-16 10:11:46.000000000 +0200
+++ totem-scrsaver.c	2006-10-16 10:11:53.000000000 +0200
@@ -383,7 +383,7 @@ totem_scrsaver_disable (TotemScrsaver *s
 
 	scr->priv->disabled = TRUE;
 
-	if (screensaver_is_running_dbus (scr))
+	if (screensaver_is_running_dbus (scr) == TRUE)
 		screensaver_disable_dbus (scr);
 	else 
 		screensaver_disable_x11 (scr);
@@ -397,7 +397,7 @@ totem_scrsaver_enable (TotemScrsaver *sc
 
 	scr->priv->disabled = FALSE;
 
-	if (screensaver_is_running_dbus (scr))
+	if (screensaver_is_running_dbus (scr) == TRUE)
 		screensaver_enable_dbus (scr);
 	else 
 		screensaver_enable_x11 (scr);
