Remove unused KatzeNet instance from History panel
This commit is contained in:
parent
24b0916d62
commit
eb5b244647
1 changed files with 0 additions and 4 deletions
|
@ -48,7 +48,6 @@ struct _MidoriHistory
|
||||||
GtkWidget* treeview;
|
GtkWidget* treeview;
|
||||||
MidoriApp* app;
|
MidoriApp* app;
|
||||||
KatzeArray* array;
|
KatzeArray* array;
|
||||||
KatzeNet* net;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _MidoriHistoryClass
|
struct _MidoriHistoryClass
|
||||||
|
@ -860,9 +859,6 @@ midori_history_init (MidoriHistory* history)
|
||||||
GtkCellRenderer* renderer_pixbuf;
|
GtkCellRenderer* renderer_pixbuf;
|
||||||
GtkCellRenderer* renderer_text;
|
GtkCellRenderer* renderer_text;
|
||||||
|
|
||||||
history->net = katze_net_new ();
|
|
||||||
/* FIXME: Dereference the net on finalization */
|
|
||||||
|
|
||||||
/* Create the treeview */
|
/* Create the treeview */
|
||||||
model = gtk_tree_store_new (2, KATZE_TYPE_ITEM, G_TYPE_STRING);
|
model = gtk_tree_store_new (2, KATZE_TYPE_ITEM, G_TYPE_STRING);
|
||||||
treeview = gtk_tree_view_new_with_model (GTK_TREE_MODEL (model));
|
treeview = gtk_tree_view_new_with_model (GTK_TREE_MODEL (model));
|
||||||
|
|
Loading…
Reference in a new issue