mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-14 17:50:19 +00:00
Updated setup color dialog RGBA derivation to parse hex palette components with gdk_rgba_parse for GTK3 paths.
Standardized GtkCellRendererText foreground color binding to use the palette foreground property macro across user list, DCC, and notify views.
This commit is contained in:
@@ -533,11 +533,7 @@ static void
|
||||
userlist_add_columns (GtkTreeView * treeview)
|
||||
{
|
||||
GtkCellRenderer *renderer;
|
||||
#if GTK_CHECK_VERSION(3,0,0)
|
||||
const char *foreground_property = "foreground-rgba";
|
||||
#else
|
||||
const char *foreground_property = "foreground-gdk";
|
||||
#endif
|
||||
const char *foreground_property = PALETTE_FOREGROUND_PROPERTY;
|
||||
|
||||
/* icon column */
|
||||
renderer = gtk_cell_renderer_pixbuf_new ();
|
||||
|
||||
Reference in New Issue
Block a user