mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 07: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:
@@ -731,11 +731,7 @@ static void
|
||||
dcc_add_column (GtkWidget *tree, int textcol, int colorcol, char *title, gboolean right_justified)
|
||||
{
|
||||
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;
|
||||
|
||||
renderer = gtk_cell_renderer_text_new ();
|
||||
if (right_justified)
|
||||
|
||||
Reference in New Issue
Block a user