Skip to content
Permalink
Browse files

weather: add cssprovider for widget not for screen

Will be needed if this is ever ported to in-process
  • Loading branch information...
lukefromdc committed Jul 19, 2018
1 parent a15746b commit 1cd86c770936bf3adabef52c80f7e277daa871e6
Showing with 1 addition and 1 deletion.
  1. +1 −1 mateweather/mateweather-dialog.c
@@ -539,7 +539,7 @@ override_widget_font (GtkWidget *widget,
gtk_css_provider_load_from_data (provider, css, -1, NULL);

if (!provider_added) {
gtk_style_context_add_provider_for_screen (gtk_widget_get_screen (widget),
gtk_style_context_add_provider(gtk_widget_get_style_context(GTK_WIDGET(widget)),
GTK_STYLE_PROVIDER (provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
provider_added = TRUE;

0 comments on commit 1cd86c7

Please sign in to comment.
You can’t perform that action at this time.