# HG changeset patch # User Paul Aurich # Date 1239573221 0 # Node ID 7f9443c311018b966963443986e4c868e377df7e # Parent 50274819a754833e4cf8fa6ce2d43382a3c09077 Fix some copy/paste errors in PidginBlistThemeLoader (was leaking online->color) diff -r 50274819a754 -r 7f9443c31101 pidgin/gtkblist-theme-loader.c --- a/pidgin/gtkblist-theme-loader.c Sun Apr 12 21:52:37 2009 +0000 +++ b/pidgin/gtkblist-theme-loader.c Sun Apr 12 21:53:41 2009 +0000 @@ -172,15 +172,15 @@ if ((success = (success && sub_node != NULL && (sub_sub_node = xmlnode_get_child(sub_node, "offline_text")) != NULL))) { offline->font = g_strdup(xmlnode_get_attrib(sub_sub_node, "font")); if(gdk_color_parse(temp = xmlnode_get_attrib(sub_sub_node, "color"), &color)) - online->color = g_strdup(temp); - else online->color = g_strdup(DEFAULT_TEXT_COLOR); + offline->color = g_strdup(temp); + else offline->color = g_strdup(DEFAULT_TEXT_COLOR); } if ((success = (success && sub_node != NULL && (sub_sub_node = xmlnode_get_child(sub_node, "idle_text")) != NULL))) { idle->font = g_strdup(xmlnode_get_attrib(sub_sub_node, "font")); if(gdk_color_parse(temp = xmlnode_get_attrib(sub_sub_node, "color"), &color)) idle->color = g_strdup(temp); - else online->color = g_strdup(DEFAULT_TEXT_COLOR); + else idle->color = g_strdup(DEFAULT_TEXT_COLOR); } if ((success = (success && sub_node != NULL && (sub_sub_node = xmlnode_get_child(sub_node, "message_text")) != NULL))) {