[Kazehakase-cvs] CVS update: kazehakase/src

Back to archive index

Hiroyuki Ikezoe ikezo****@users*****
Tue Jan 2 18:21:48 JST 2007


Index: kazehakase/src/kz-window.c
diff -u kazehakase/src/kz-window.c:1.284 kazehakase/src/kz-window.c:1.285
--- kazehakase/src/kz-window.c:1.284	Tue Jan  2 10:50:35 2007
+++ kazehakase/src/kz-window.c	Tue Jan  2 18:21:48 2007
@@ -460,7 +460,7 @@
 	priv->view_hist    = NULL;
 	priv->tab_tree     = NULL;
 
-	kz->tabs   = kz_bookmark_pure_folder_new();
+	kz->tabs            = kz_bookmark_pure_folder_new();
 	kz->closed_tabs     = kz_bookmark_pure_folder_new();
 	kz->history_search  = kz_bookmark_pure_folder_new();
 	
@@ -1477,7 +1477,8 @@
 
 	if (kz->tabs)
 	{
-		kz_bookmark_remove(KZ_GET_CURRENT_SESSION, kz->tabs);
+		if (KZ_GET_CURRENT_SESSION)
+			kz_bookmark_remove(KZ_GET_CURRENT_SESSION, kz->tabs);
 		g_object_unref(kz->tabs);
 		kz->tabs = NULL;
 	}


More information about the Kazehakase-cvs mailing list
Back to archive index