Commit 831963aa authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko Committed by Adrien Plazas
Browse files

glade-hdy-carousel: Add a missing assignment

When inserting a page, we want to immediately switch there. It wasn't done,
even though we get the property to do it, generating a warning with clang.
Signed-off-by: Alexander Mikhaylenko's avatarAlexander Mikhaylenko <>
parent c66a56c6
......@@ -206,6 +206,7 @@ glade_hdy_carousel_child_action_activate (GladeWidgetAdaptor *adaptor,
glade_command_set_property (property, pages + 1);
property = glade_widget_get_property (parent, "page");
glade_command_set_property (property, index);
glade_command_pop_group ();
} else if (strcmp (action_path, "remove_page") == 0) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment