soc.2009.webkitmessageview: d3203bf2: small assertion code.
tdrhq at soc.pidgin.im
tdrhq at soc.pidgin.im
Tue Aug 25 12:05:16 EDT 2009
-----------------------------------------------------------------
Revision: d3203bf25024da03b0be45318df36b80ccb1da85
Ancestor: 4a38686315167fc9d07f467c1886df94b866e6af
Author: tdrhq at soc.pidgin.im
Date: 2009-08-10T10:30:31
Branch: im.pidgin.soc.2009.webkitmessageview
URL: http://d.pidgin.im/viewmtn/revision/info/d3203bf25024da03b0be45318df36b80ccb1da85
Modified files:
pidgin/plugins/adiumthemes/webkit.c
ChangeLog:
small assertion code.
-------------- next part --------------
============================================================
--- pidgin/plugins/adiumthemes/webkit.c bfba083cff73c8b40b06eeabf1bfd0f665f07378
+++ pidgin/plugins/adiumthemes/webkit.c f9fe89a5908829db08a416aa8d5d1b07fbf181cf
@@ -468,6 +468,7 @@ init_theme_for_webkit (PurpleConversatio
footer = replace_header_tokens(style->footer_html, strlen(style->footer_html), conv);
template = replace_template_tokens(style, style->template_html, strlen(style->template_html) + strlen(style->header_html), header, footer);
+ g_assert(template);
webkit_web_view_load_string(WEBKIT_WEB_VIEW(webkit), template, "text/html", "UTF-8", baseuri);
g_object_set_data (G_OBJECT(webkit), MESSAGE_STYLE_KEY, style);
More information about the Commits
mailing list