for (; children; children = g_list_next (children))
if (g_object_get_data (G_OBJECT (children->data), "midori-infobar-cb"))
gtk_widget_destroy (children->data);
+ g_list_free (children);
view->alerts = 0;
if (g_strcmp0 (uri, katze_item_get_uri (view->item)))
if (g_file_get_contents (path, &template, NULL, NULL))
{
gchar* title_escaped;
+ const gchar* icon;
gchar* result;
title_escaped = g_markup_escape_text (title, -1);
+ icon = katze_item_get_icon (view->item);
result = sokoke_replace_variables (template,
"{title}", title_escaped,
+ "{icon}", icon ? icon : "",
"{message}", message,
"{description}", description,
"{tryagain}", try_again,