Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix some minor compiler warnings
  • Loading branch information
thos committed Mar 12, 2013
1 parent 5663bb6 commit 6c989d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mx/mx-kinetic-scroll-view.c
Expand Up @@ -547,7 +547,7 @@ mx_kinetic_scroll_view_allocate (ClutterActor *actor,

if (priv->child)
{
mx_widget_get_available_area (actor, box, &childbox);
mx_widget_get_available_area (MX_WIDGET (actor), box, &childbox);
clutter_actor_allocate (priv->child, &childbox, flags);
}
}
Expand Down
2 changes: 1 addition & 1 deletion mx/mx-menu.c
Expand Up @@ -912,7 +912,7 @@ mx_menu_add_action (MxMenu *menu,
mx_button_set_action (MX_BUTTON (child.box), child.action);

/* align to the left */
button_child = clutter_actor_get_child_at_index (child.box, 0);
button_child = clutter_actor_get_child_at_index ((ClutterActor*) child.box, 0);
clutter_actor_set_x_align (button_child, CLUTTER_ACTOR_ALIGN_START);


Expand Down

0 comments on commit 6c989d7

Please sign in to comment.