summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Aurich <darkrain42@pidgin.im>2009-04-12 21:53:41 +0000
committerPaul Aurich <darkrain42@pidgin.im>2009-04-12 21:53:41 +0000
commitd7550289e02fce2a666d8aaa5a798b1912f1c1fa (patch)
tree93c5774364562b5d08770647def09787f54326f4
parentd4f01e557f43f2c3778ed8124ca1a9a1b96ae5ff (diff)
downloadpidgin-d7550289e02fce2a666d8aaa5a798b1912f1c1fa.tar.gz
Fix some copy/paste errors in PidginBlistThemeLoader (was leaking online->color)
-rw-r--r--pidgin/gtkblist-theme-loader.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pidgin/gtkblist-theme-loader.c b/pidgin/gtkblist-theme-loader.c
index 8571a53f37..84a8583ef3 100644
--- a/pidgin/gtkblist-theme-loader.c
+++ b/pidgin/gtkblist-theme-loader.c
@@ -172,15 +172,15 @@ pidgin_blist_loader_build(const gchar *dir)
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))) {