removed redundant check which was supposed to catch a bug in webkit but doesn't do the trick anyway

svn path=/trunk/; revision=26088
This commit is contained in:
Sven Neumann
2008-07-08 08:50:24 +00:00
parent d2d9198dd5
commit f3385bdeb9

View File

@ -822,9 +822,6 @@ build_menu (GList *items)
for (list = items; list; list = g_list_next (list)) for (list = items; list; list = g_list_next (list))
{ {
WebKitWebHistoryItem *item = list->data; WebKitWebHistoryItem *item = list->data;
if (item)
{
GtkWidget *menu_item; GtkWidget *menu_item;
const gchar *title; const gchar *title;
@ -840,7 +837,6 @@ build_menu (GList *items)
g_object_unref (item); g_object_unref (item);
} }
}
g_list_free (items); g_list_free (items);