[libdazzle] tests: drop use of show_all



commit 123e5b9f5f0d425586118b9d7841ecbbf5471ddb
Author: Christian Hergert <chergert redhat com>
Date:   Mon Aug 6 12:39:33 2018 -0700

    tests: drop use of show_all

 tests/test-shortcut-theme.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/tests/test-shortcut-theme.c b/tests/test-shortcut-theme.c
index 20f3013..ec5ebce 100644
--- a/tests/test-shortcut-theme.c
+++ b/tests/test-shortcut-theme.c
@@ -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, "useless.command.here", "<Control>a", 
DZL_SHORTCUT_PHASE_GLOBAL, key_callback, &did_cb, NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]