From: John Darrington Date: Mon, 15 Aug 2016 11:51:42 +0000 (+0200) Subject: Remove call to gtk_style_context_add_provider_for_screen X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a74cf2a2c1391eae93cba8cbe6772cc3b8013193;p=pspp Remove call to gtk_style_context_add_provider_for_screen Contrary to advice I was previously given, this is neither necessary nor desireable. --- 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);