From 7ca6944fc37a0ed13ebe66ab421412a642f1c1bf Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Thu, 18 Jun 2009 23:54:30 +0200 Subject: [PATCH] Resolve MidoriBookmarkStore warnings --- panels/midori-bookmark-store.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/panels/midori-bookmark-store.c b/panels/midori-bookmark-store.c index da401774..b8e03f23 100644 --- a/panels/midori-bookmark-store.c +++ b/panels/midori-bookmark-store.c @@ -54,8 +54,6 @@ midori_bookmark_store_init (MidoriBookmarkStore* bookmark_store) static void midori_bookmark_store_finalize (GObject* object) { - MidoriBookmarkStore* bookmark_store = MIDORI_BOOKMARK_STORE (object); - /* Nothing to do */ } @@ -94,11 +92,11 @@ midori_bookmark_store_new (gint n_columns, g_return_val_if_fail (n_columns > 0, NULL); - treestore = g_object_new (GTK_TYPE_TREE_STORE, NULL); + treestore = g_object_new (MIDORI_TYPE_BOOKMARK_STORE, NULL); va_start (args, n_columns); - types = g_new (gint, n_columns); + types = g_new (GType, n_columns); for (i = 0; i < n_columns; i++) { GType type = va_arg (args, GType); -- 2.39.5