[Xfce4-commits] <midori:master> Remove unused KatzeNet instance from Bookmarks panel

Christian Dywan noreply at xfce.org
Wed Feb 10 19:52:05 CET 2010


Updating branch refs/heads/master
         to cee10ca6d89fe5f4bdc1b3864d2901ba449385a2 (commit)
       from eb5b244647e0066d3ca3438dd8e4df960f6d4e85 (commit)

commit cee10ca6d89fe5f4bdc1b3864d2901ba449385a2
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Feb 8 00:15:29 2010 +0100

    Remove unused KatzeNet instance from Bookmarks panel

 panels/midori-bookmarks.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/panels/midori-bookmarks.c b/panels/midori-bookmarks.c
index 01e9112..87cc242 100644
--- a/panels/midori-bookmarks.c
+++ b/panels/midori-bookmarks.c
@@ -46,7 +46,6 @@ struct _MidoriBookmarks
     GtkWidget* treeview;
     MidoriApp* app;
     KatzeArray* array;
-    KatzeNet* net;
 };
 
 struct _MidoriBookmarksClass
@@ -906,8 +905,6 @@ midori_bookmarks_init (MidoriBookmarks* bookmarks)
     GtkCellRenderer* renderer_pixbuf;
     GtkCellRenderer* renderer_text;
 
-    bookmarks->net = katze_net_new ();
-
     /* Create the treeview */
     model = midori_bookmark_store_new (1, KATZE_TYPE_ITEM);
     treeview = gtk_tree_view_new_with_model (GTK_TREE_MODEL (model));
@@ -952,7 +949,6 @@ midori_bookmarks_finalize (GObject* object)
     midori_bookmarks_disconnect_folder (bookmarks, bookmarks->array);
     if (bookmarks->app)
         g_object_unref (bookmarks->app);
-    g_object_unref (bookmarks->net);
 }
 
 /**



More information about the Xfce4-commits mailing list