X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fstyle.c;fp=libchimara%2Fstyle.c;h=5bbbb5be22ec3385da336297a6a9cfe21a12e2cf;hb=daf0bacb2f258c3f77a5f8567b0713cb9635fdbb;hp=557f3dcaa5170f3b467c034d87f45e6b7cdc0502;hpb=6c2209c7aa7db00d64a70263d2ffd516d43e952f;p=projects%2Fchimara%2Fchimara.git diff --git a/libchimara/style.c b/libchimara/style.c index 557f3dc..5bbbb5b 100644 --- a/libchimara/style.c +++ b/libchimara/style.c @@ -760,9 +760,9 @@ apply_stylehint_to_tag(GtkTextTag *tag, GtkTextTag *default_tag, glui32 wintype, glkcolor_to_gdkcolor(val, &color); if(!reverse_color) - g_object_set(tag_object, "foreground", &color, "foreground-set", TRUE, NULL); + g_object_set(tag_object, "foreground-gdk", &color, "foreground-set", TRUE, NULL); else - g_object_set(tag_object, "background", &color, "background-set", TRUE, NULL); + g_object_set(tag_object, "background-gdk", &color, "background-set", TRUE, NULL); break; @@ -770,9 +770,9 @@ apply_stylehint_to_tag(GtkTextTag *tag, GtkTextTag *default_tag, glui32 wintype, glkcolor_to_gdkcolor(val, &color); if(!reverse_color) - g_object_set(tag_object, "background", &color, "background-set", TRUE, NULL); + g_object_set(tag_object, "background-gdk", &color, "background-set", TRUE, NULL); else - g_object_set(tag_object, "foreground", &color, "background-set", TRUE, NULL); + g_object_set(tag_object, "foreground-gdk", &color, "background-set", TRUE, NULL); break;