Commit 123e5b9f authored by Christian Hergert's avatar Christian Hergert
Browse files

tests: drop use of show_all

parent 54c321c1
......@@ -83,7 +83,8 @@ test_shortcut_theme_manager (void)
window = gtk_offscreen_window_new ();
label = gtk_label_new (NULL);
gtk_container_add (GTK_CONTAINER (window), label);
gtk_widget_show_all (window);
gtk_widget_show (label);
gtk_widget_show (window);
controller = dzl_shortcut_controller_find (label);
g_assert (DZL_IS_SHORTCUT_CONTROLLER (controller));
dzl_shortcut_controller_add_command_callback (controller, "", "<Control>a", DZL_SHORTCUT_PHASE_GLOBAL, key_callback, &did_cb, NULL);
Supports Markdown
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