[Kazehakase-cvs] CVS update: kazehakase/src

Zurück zum Archiv-Index

Hiroyuki Ikezoe ikezo****@users*****
Tue Jan 2 10:50:35 JST 2007


Index: kazehakase/src/kz-window.c
diff -u kazehakase/src/kz-window.c:1.283 kazehakase/src/kz-window.c:1.284
--- kazehakase/src/kz-window.c:1.283	Tue Jan  2 09:30:42 2007
+++ kazehakase/src/kz-window.c	Tue Jan  2 10:50:35 2007
@@ -1138,7 +1138,8 @@
 
 	g_return_if_fail(KZ_IS_WINDOW(kz));
 
-	kz_session_freeze(KZ_SESSION(KZ_GET_CURRENT_SESSION));
+	if (KZ_GET_CURRENT_SESSION)
+		kz_session_freeze(KZ_SESSION(KZ_GET_CURRENT_SESSION));
 	n_pages = gtk_notebook_get_n_pages(GTK_NOTEBOOK(kz->notebook));
 	for (i = n_pages - 1; i >= 0; i--)
 	{
@@ -1151,7 +1152,8 @@
 
 		gtk_widget_destroy(widget);
 	}
-	kz_session_thaw(KZ_SESSION(KZ_GET_CURRENT_SESSION));
+	if (KZ_GET_CURRENT_SESSION)
+		kz_session_thaw(KZ_SESSION(KZ_GET_CURRENT_SESSION));
 }
 
 


More information about the Kazehakase-cvs mailing list
Zurück zum Archiv-Index