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 #647928 ยป 0004-Drop-third-parameter-from-gtk_css_provider_load_from.patch

Marko Lindqvist, 2017-03-26 06:48 PM

View differences:

client/gui-gtk-4.0/themes.c
void gui_load_theme(const char *directory, const char *theme_name)
{
static GtkCssProvider *fc_css_provider = NULL;
GError *error = NULL;
char buf[strlen(directory) + strlen(theme_name) + 32];
if (fc_css_provider == NULL) {
......
fc_snprintf(buf, sizeof(buf), "%s/%s/gtk-3.0/gtk.css", directory,
theme_name);
gtk_css_provider_load_from_file(fc_css_provider, g_file_new_for_path(buf), &error);
if (error) {
g_warning("%s\n", error->message);
}
gtk_css_provider_load_from_file(fc_css_provider, g_file_new_for_path(buf));
}
/*****************************************************************************
    (1-1/1)