From a74cf2a2c1391eae93cba8cbe6772cc3b8013193 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Mon, 15 Aug 2016 13:51:42 +0200 Subject: [PATCH] Remove call to gtk_style_context_add_provider_for_screen Contrary to advice I was previously given, this is neither necessary nor desireable. --- src/ui/gui/psppire-window.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ui/gui/psppire-window.c b/src/ui/gui/psppire-window.c index 97cfe6aed0..c268256bb0 100644 --- a/src/ui/gui/psppire-window.c +++ b/src/ui/gui/psppire-window.c @@ -403,10 +403,6 @@ psppire_window_init (PsppireWindow *window) window->description = NULL; window->list_name = NULL; - gtk_style_context_add_provider_for_screen (gdk_screen_get_default (), - GTK_STYLE_PROVIDER (gtk_css_provider_get_default ()), - GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); - window->menuitem_table = g_hash_table_new (g_str_hash, g_str_equal); -- 2.30.2