Commit 2f2a590d authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko
Browse files

example: Use hdy_leaflet_navigate() for back button


Signed-off-by: Alexander Mikhaylenko's avatarAlexander Mikhaylenko <alexm@gnome.org>
parent 05ca0ddb
......@@ -118,7 +118,7 @@ static void
hdy_demo_window_back_clicked_cb (GtkWidget *sender,
HdyDemoWindow *self)
{
hdy_leaflet_set_visible_child_name (self->content_box, "sidebar");
hdy_leaflet_navigate (self->content_box, HDY_NAVIGATION_DIRECTION_BACK);
}
static gchar *
......
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