Added the GTK3 InputStyle abstraction and updated input style/chanview declarations to avoid direct GtkStyle usage in GTK3 builds.

Updated input style initialization and kept GTK2-only RC parsing while applying GTK3 palette styling for the channel tree via CSS-aware paths.
This commit is contained in:
2026-01-30 18:19:01 -07:00
parent d0d6a573a7
commit 6c17f4bc16
8 changed files with 43 additions and 11 deletions

View File

@@ -48,7 +48,7 @@
#endif
#include "sexy-spell-entry.h"
GtkStyle *create_input_style (GtkStyle *);
InputStyle *create_input_style (InputStyle *);
#define LABEL_INDENT 12
@@ -2860,7 +2860,7 @@ setup_apply_to_sess (session_gui *gui)
if (prefs.hex_gui_input_style)
{
#if GTK_CHECK_VERSION(3,0,0)
#if HAVE_GTK3
char buf[128];
GtkCssProvider *provider = gtk_css_provider_new ();
GtkStyleContext *context;