HildonAnimationActor: make the "show" parameter a gboolean
[hildon] / hildon / hildon-animation-actor.c
index b826ffb..beaf8f5 100644 (file)
 
 /**
  * SECTION:hildon-animation-window
- * @short_description: Widget representing an animation actor for
+ * @short_description: Animation actor for
  * WM-assisted animation effects in the Hildon framework.
  *
- * The #HildonAnimationActor is a GTK+ widget which represents an
+ * The #HildonAnimationActor is an
  * animation actor for WM-assisted animation effects in the Hildon
  * framework. It derives from #GtkWindow and can host any widgets much
  * like a normal window. The special features available to the
@@ -264,7 +264,7 @@ hildon_animation_actor_show                    (GtkWidget *widget)
     HildonAnimationActor        *self = HILDON_ANIMATION_ACTOR (widget);
 
     GTK_WIDGET_CLASS (hildon_animation_actor_parent_class)->show (widget);
-    hildon_animation_actor_set_show (self, 1);
+    hildon_animation_actor_set_show (self, TRUE);
 }
 
 static void
@@ -272,7 +272,7 @@ hildon_animation_actor_hide                    (GtkWidget *widget)
 {
     HildonAnimationActor        *self = HILDON_ANIMATION_ACTOR (widget);
 
-    hildon_animation_actor_set_show (self, 0);
+    hildon_animation_actor_set_show (self, FALSE);
     GTK_WIDGET_CLASS (hildon_animation_actor_parent_class)->hide (widget);
 }
 
@@ -622,7 +622,7 @@ hildon_animation_actor_send_message (HildonAnimationActor *self,
  **/
 void
 hildon_animation_actor_set_show_full (HildonAnimationActor *self,
-                                     gint show,
+                                     gboolean show,
                                      gint opacity)
 {
     HildonAnimationActorPrivate
@@ -668,7 +668,7 @@ hildon_animation_actor_set_show_full (HildonAnimationActor *self,
  **/
 void
 hildon_animation_actor_set_show (HildonAnimationActor *self,
-                                gint show)
+                                gboolean show)
 {
     HildonAnimationActorPrivate
                       *priv = HILDON_ANIMATION_ACTOR_GET_PRIVATE (self);