gtk_style_context_get_background_color() is deprecated may be we can use gtk_style_context_get() in terminal-screen.c to get the background color?
Yeah, but for some reason gtk_style_context_get() doesn't return the red value of the color for me. The red value gets shown with the first function but not with the second: gtk_style_context_get_background_color (context, GTK_STATE_FLAG_ACTIVE, &bg); printf("color: %f %f %f %f\n", bg.red, bg.green, bg.blue, bg.alpha); gtk_style_context_get (context, GTK_STATE_FLAG_ACTIVE, GTK_STYLE_PROPERTY_BACKGROUND_COLOR, &bg, NULL); printf("prop: %f %f %f %f\n", bg.red, bg.green, bg.blue, bg.alpha); color: 0.807843 0.807843 0.807843 1.000000 prop: 0.000000 0.807843 0.807843 1.000000
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/xfce4-terminal/-/issues/33. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev