diff -r 237c5d54c4a0 -r 06344d5d6296 pidgin/gtkconv.c --- a/pidgin/gtkconv.c Fri Jun 28 13:18:34 2019 +0200 +++ b/pidgin/gtkconv.c Sat Jun 29 00:02:51 2019 +0200 @@ -8173,7 +8173,7 @@ pidgin_conversations_set_tab_colors(void) { /* Set default tab colors */ - GString *str = g_string_new(NULL); + GString *str; GtkSettings *settings = gtk_settings_get_default(); GtkStyle *parent = gtk_rc_get_style_by_paths(settings, "tab-container.tab-label*", NULL, G_TYPE_NONE), *now; struct { @@ -8192,10 +8192,11 @@ if(tab_color_fuse) { tab_color_fuse = FALSE; - g_string_free(str, FALSE); return; } + str = g_string_new(NULL); + for (iter = 0; styles[iter].stylename; iter++) { now = gtk_rc_get_style_by_paths(settings, styles[iter].labelname, NULL, G_TYPE_NONE); if (parent == now ||