# HG changeset patch # User tdrhq@soc.pidgin.im # Date 1249900231 0 # Node ID 9ed5d83f52fed8c94ee09017eca96a8cfd5537cf # Parent fd2f3d2d814039728eb0d2952f66661ef980d987 small assertion code. diff -r fd2f3d2d8140 -r 9ed5d83f52fe pidgin/plugins/adiumthemes/webkit.c --- a/pidgin/plugins/adiumthemes/webkit.c Mon Aug 10 10:26:02 2009 +0000 +++ b/pidgin/plugins/adiumthemes/webkit.c Mon Aug 10 10:30:31 2009 +0000 @@ -468,6 +468,7 @@ 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);