Remove call to gtk_style_context_add_provider_for_screen
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 15 Aug 2016 11:51:42 +0000 (13:51 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 15 Aug 2016 11:53:01 +0000 (13:53 +0200)
Contrary to advice I was previously given, this is neither necessary nor
desireable.

src/ui/gui/psppire-window.c

index 97cfe6aed0a16c9b70723ff3409a5a2184fc2ef4..c268256bb003ea1c43c460d087b4454c11486c41 100644 (file)
@@ -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);