Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #822557 ยป 0051-gtk3x-Avoid-gtk_style_context_add_provider_for_scree.patch

Marko Lindqvist, 2019-06-20 04:58 AM

View differences:

client/gui-gtk-4.0/gui_stuff.c
provider = gtk_css_provider_new();
gtk_css_provider_load_from_data(GTK_CSS_PROVIDER(provider),
str, -1);
gtk_style_context_add_provider_for_screen(
gtk_widget_get_screen(toplevel), GTK_STYLE_PROVIDER(provider),
gtk_style_context_add_provider_for_display(
gtk_widget_get_display(toplevel), GTK_STYLE_PROVIDER(provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
g_free(str);
}
client/gui-gtk-4.0/themes.c
if (default_provider == NULL) {
default_provider = gtk_css_provider_new();
}
gtk_style_context_add_provider_for_screen(
gtk_widget_get_screen(toplevel),
gtk_style_context_add_provider_for_display(
gtk_widget_get_display(toplevel),
GTK_STYLE_PROVIDER(default_provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
}
    (1-1/1)