Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Binyamin Darshan Hcohen
libdazzle
Commits
123e5b9f
Commit
123e5b9f
authored
Aug 06, 2018
by
Christian Hergert
Browse files
tests: drop use of show_all
parent
54c321c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test-shortcut-theme.c
View file @
123e5b9f
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment