+2009-07-02 David King <davidk@openismus.com>
+
+ * hildon/hildon-animation-actor-private.h
+ (HildonAnimationActorPrivate)
+ * hildon/hildon-animation-actor.c (hildon_animation_actor_show)
+ (hildon_animation_actor_hide)
+ * hildon/hildon-animation-actor.h
+ (hildon_animation_actor_set_show_full)
+ (hildon_animation_actor_set_show): Change "show" parameter type from
+ gint to gboolean.
+
+ Fixes: MB#4696 (hildon_animation_actor_set_show() gint argument should
+ be a gboolean)
+
2009-09-18 Claudio Saavedra <csaavedra@igalia.com>
Do not return gboolean in GtkButton:clicked signal handlers
struct _HildonAnimationActorPrivate
{
- guint ready : 1;
+ guint ready : 1;
- guint set_show : 1;
- guint set_position : 1;
- guint set_rotation : 3;
- guint set_scale : 1;
- guint set_anchor : 1;
- guint set_parent : 1;
+ guint set_show : 1;
+ guint set_position : 1;
+ guint set_rotation : 3;
+ guint set_scale : 1;
+ guint set_anchor : 1;
+ guint set_parent : 1;
- guint show;
- guint opacity;
+ gboolean show;
+ guint opacity;
- guint gravity;
- guint anchor_x;
- guint anchor_y;
+ guint gravity;
+ guint anchor_x;
+ guint anchor_y;
- guint position_x;
- guint position_y;
- guint depth;
+ guint position_x;
+ guint position_y;
+ guint depth;
- guint32 x_rotation_angle;
- guint x_rotation_y;
- guint x_rotation_z;
+ guint32 x_rotation_angle;
+ guint x_rotation_y;
+ guint x_rotation_z;
- guint32 y_rotation_angle;
- guint y_rotation_x;
- guint y_rotation_z;
+ guint32 y_rotation_angle;
+ guint y_rotation_x;
+ guint y_rotation_z;
- guint32 z_rotation_angle;
- guint z_rotation_x;
- guint z_rotation_y;
+ guint32 z_rotation_angle;
+ guint z_rotation_x;
+ guint z_rotation_y;
- guint32 scale_x;
- guint32 scale_y;
+ guint32 scale_x;
+ guint32 scale_y;
- GtkWindow* parent;
- gulong parent_map_event_cb_id;
+ GtkWindow *parent;
+ gulong parent_map_event_cb_id;
- gulong map_event_cb_id;
+ gulong map_event_cb_id;
};
G_END_DECLS
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
{
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);
}
**/
void
hildon_animation_actor_set_show_full (HildonAnimationActor *self,
- gint show,
+ gboolean show,
gint opacity)
{
HildonAnimationActorPrivate
**/
void
hildon_animation_actor_set_show (HildonAnimationActor *self,
- gint show)
+ gboolean show)
{
HildonAnimationActorPrivate
*priv = HILDON_ANIMATION_ACTOR_GET_PRIVATE (self);
guint32 l4);
void
hildon_animation_actor_set_show_full (HildonAnimationActor *self,
- gint show,
+ gboolean show,
gint opacity);
void
hildon_animation_actor_set_show (HildonAnimationActor *self,
- gint show);
+ gboolean show);
void
hildon_animation_actor_set_opacity (HildonAnimationActor *self,
gint opacity);