Remove unused KatzeNet instance from History panel

This commit is contained in:
Christian Dywan 2010-02-08 00:14:49 +01:00
parent 24b0916d62
commit eb5b244647

View file

@ -48,7 +48,6 @@ struct _MidoriHistory
GtkWidget* treeview;
MidoriApp* app;
KatzeArray* array;
KatzeNet* net;
};
struct _MidoriHistoryClass
@ -860,9 +859,6 @@ midori_history_init (MidoriHistory* history)
GtkCellRenderer* renderer_pixbuf;
GtkCellRenderer* renderer_text;
history->net = katze_net_new ();
/* FIXME: Dereference the net on finalization */
/* Create the treeview */
model = gtk_tree_store_new (2, KATZE_TYPE_ITEM, G_TYPE_STRING);
treeview = gtk_tree_view_new_with_model (GTK_TREE_MODEL (model));