From 45ce91d81e6d964124d0fd310156b4562f4dc284 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 29 Aug 2020 22:50:38 +0200 Subject: Disable transition --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index fa16545..3c287f4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -863,8 +863,8 @@ static void activate(GtkApplication *app, gpointer userdata) { GtkStack *stack = GTK_STACK(gtk_stack_new()); gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(stack)); - gtk_stack_set_transition_type(stack, GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT); - gtk_stack_set_transition_duration(stack, 300); + gtk_stack_set_transition_type(stack, GTK_STACK_TRANSITION_TYPE_NONE); + gtk_stack_set_transition_duration(stack, 0); gtk_stack_set_homogeneous(stack, false); GtkWidget *common_settings_page = create_common_settings_page(stack, app); GtkWidget *replay_page = create_replay_page(app, stack); -- cgit v1.2.3