pidgin: e6faf7cf: Apparently font_weight was only relative...

deryni at pidgin.im deryni at pidgin.im
Tue Jul 7 15:40:45 EDT 2009


-----------------------------------------------------------------
Revision: e6faf7cfc687458f9e3d8f8a88c339de80843fc5
Ancestor: 7cea95c02be3acae58df4facf4c6c327978b0a5e
Author: deryni at pidgin.im
Date: 2009-07-07T19:35:38
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/e6faf7cfc687458f9e3d8f8a88c339de80843fc5

Modified files:
        pidgin/gtkblist.c

ChangeLog: 

Apparently font_weight was only relatively recently added to pango, so use
weight instead. Thanks poizon.

Closes #9632

-------------- next part --------------
============================================================
--- pidgin/gtkblist.c	630bd48132a7fccbbd5aa4bd3f4ce5e167b44ebe
+++ pidgin/gtkblist.c	1663857b8815d1af6a98bd840a45678e5f5ab5e5
@@ -6321,15 +6321,15 @@ static char *pidgin_get_group_title(Purp
 		mark = g_strdup_printf("<span foreground='%s' font_desc='%s'><b>%s</b>%s%s%s</span>",
 		                       text_color, text_font,
 		                       esc ? esc : "",
-		                       !expanded ? " <span font_weight='light'>(</span>" : "",
+		                       !expanded ? " <span weight='light'>(</span>" : "",
 		                       group_count,
-		                       !expanded ? "<span font_weight='light'>)</span>" : "");
+		                       !expanded ? "<span weight='light'>)</span>" : "");
 	} else {
 		mark = g_strdup_printf("<span font_desc='%s'><b>%s</b>%s%s%s</span>",
 		                       text_font, esc ? esc : "",
-		                       !expanded ? " <span font_weight='light'>(</span>" : "",
+		                       !expanded ? " <span weight='light'>(</span>" : "",
 		                       group_count,
-		                       !expanded ? "<span font_weight='light'>)</span>" : "");
+		                       !expanded ? "<span weight='light'>)</span>" : "");
 	}
 
 	g_free(esc);


More information about the Commits mailing list