comparison pidgin/gtkblist-theme-loader.c @ 32648:a7397a3d67ef

propagate from branch 'im.pidgin.pidgin' (head b57a2fabd83745a5622fe79384727baa017f7893) to branch 'im.pidgin.cpw.qulogic.gtk3' (head fb51a635c2d3c0f0dc8c07bb4591c8955b6bad88)
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 09 Jan 2011 23:32:10 +0000
parents a8cc50c2279f a3bd979c9ce4
children 3828a61c44da
comparison
equal deleted inserted replaced
31125:2291381a9dca 32648:a7397a3d67ef
63 { 63 {
64 const char *temp = xmlnode_get_attrib(node, tag); 64 const char *temp = xmlnode_get_attrib(node, tag);
65 GdkColor color; 65 GdkColor color;
66 66
67 if (temp && gdk_color_parse(temp, &color)) { 67 if (temp && gdk_color_parse(temp, &color)) {
68 gdk_colormap_alloc_color(gdk_colormap_get_system(), &color, FALSE, TRUE); 68 /* TODO: fix this for gtk+ 3.0 */
69 /*gdk_colormap_alloc_color(gdk_colormap_get_system(), &color, FALSE, TRUE);*/
69 return gdk_color_copy(&color); 70 return gdk_color_copy(&color);
70 } else { 71 } else {
71 return NULL; 72 return NULL;
72 } 73 }
73 } 74 }