- Converted text background loading to build Cairo surfaces directly from pixbufs for renderer use.

- Updated the xtext renderer to accept Cairo background surfaces and dropped the GtkStyle attach during realize to keep rendering Cairo/Pango-focused.
- Switched background surface ownership and cleanup to use cairo_surface_t across the shared state and settings update path.
This commit is contained in:
2026-01-17 18:19:00 -07:00
parent 24b0a3d75f
commit 0601be026c
7 changed files with 84 additions and 19 deletions

View File

@@ -2449,7 +2449,7 @@ setup_apply_real (int new_pix, int do_ulist, int do_layout, int do_identd)
if (new_pix)
{
if (channelwin_pix)
g_object_unref (channelwin_pix);
cairo_surface_destroy (channelwin_pix);
channelwin_pix = pixmap_load_from_file (prefs.hex_text_background);
}