CLAWS_SET_TIP(color_buttons.custom_color[c],
tooltip_btn_text);
+ g_free(tooltip_btn_text);
entry_custom_colorlabel[c] = gtk_entry_new();
gtk_widget_show (entry_custom_colorlabel[c]);
FALSE, FALSE, 0);
CLAWS_SET_TIP(entry_custom_colorlabel[c],
tooltip_entry_text);
+ g_free(tooltip_entry_text);
}
for (c = (COLORLABELS>>1)+(COLORLABELS&1); c < COLORLABELS; c++) {
FALSE, FALSE, 0);
CLAWS_SET_TIP(color_buttons.custom_color[c],
tooltip_btn_text);
+ g_free(tooltip_btn_text);
entry_custom_colorlabel[c] = gtk_entry_new();
gtk_widget_show (entry_custom_colorlabel[c]);
FALSE, FALSE, 0);
CLAWS_SET_TIP(entry_custom_colorlabel[c],
tooltip_entry_text);
+
+ g_free(tooltip_entry_text);
}
- g_free(tooltip_btn_text);
- g_free(tooltip_entry_text);
hbox_reset_custom_colors = gtk_hbox_new(FALSE, VBOX_BORDER);
gtk_widget_show (hbox_reset_custom_colors);
newstyle->bg[GTK_STATE_ACTIVE] = color;
gtk_widget_set_style(GTK_WIDGET(widget), newstyle);
+ gtk_style_unref(newstyle);
}
static void prefs_msg_colors_save(PrefsPage *_page)