mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
Fix the icontheme test
We rely on log messages here. Since logging is per-display now, we need to set a display on our custom icontheme object to get the expected log messages.
This commit is contained in:
parent
e8079df420
commit
33ec75944f
@ -18,6 +18,7 @@ get_test_icontheme (gboolean force_reload)
|
||||
|
||||
icon_theme = gtk_icon_theme_new ();
|
||||
gtk_icon_theme_set_custom_theme (icon_theme, "icons");
|
||||
gtk_icon_theme_set_display (icon_theme, gdk_display_get_default ());
|
||||
current_dir = g_test_get_dir (G_TEST_DIST);
|
||||
gtk_icon_theme_set_search_path (icon_theme, ¤t_dir, 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user