Font Selection: Use a local css_provider instead of the default one
[pspp] / src / ui / gui / psppire-window.c
index c268256bb003ea1c43c460d087b4454c11486c41..97cfe6aed0a16c9b70723ff3409a5a2184fc2ef4 100644 (file)
@@ -403,6 +403,10 @@ 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);