summaryrefslogtreecommitdiff
path: root/tests/testtitlebar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-12-13 00:38:36 -0500
committerMatthias Clasen <mclasen@redhat.com>2013-12-13 01:02:36 -0500
commitabe994f1d7d409139cd3c3ded3631bfb2da5c2a3 (patch)
tree000f50dac993de166e3f45cb094260354de6a165 /tests/testtitlebar.c
parent04897e5b09baa33d73dccd76336d12516f2920e4 (diff)
downloadgtk+-abe994f1d7d409139cd3c3ded3631bfb2da5c2a3.tar.gz
testtitlebar: Set a window icon
This reveals that GtkHeaderBar does not pick up window icons correctly for it menu button, currently.
Diffstat (limited to 'tests/testtitlebar.c')
-rw-r--r--tests/testtitlebar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testtitlebar.c b/tests/testtitlebar.c
index 420540b6a8..1d59bbafc5 100644
--- a/tests/testtitlebar.c
+++ b/tests/testtitlebar.c
@@ -47,6 +47,7 @@ activate (GApplication *gapp)
" </menu>"
"</interface>", -1, NULL);
window = gtk_application_window_new (app);
+ gtk_window_set_icon_name (GTK_WINDOW (window), "preferences-desktop-font");
menu = (GMenuModel*)gtk_builder_get_object (builder, "app-menu");
gtk_application_add_window (app, GTK_WINDOW (window));