[Xfce4-commits] r24022 - xarchiver/branches/xarchiver-psybsd/src

Stephan Arts stephan at xfce.org
Fri Dec 1 10:49:03 CET 2006


Author: stephan
Date: 2006-12-01 09:49:03 +0000 (Fri, 01 Dec 2006)
New Revision: 24022

Modified:
   xarchiver/branches/xarchiver-psybsd/src/notebook.c
Log:
Fixed Critical Error when closing last tab


Modified: xarchiver/branches/xarchiver-psybsd/src/notebook.c
===================================================================
--- xarchiver/branches/xarchiver-psybsd/src/notebook.c	2006-11-30 23:35:14 UTC (rev 24021)
+++ xarchiver/branches/xarchiver-psybsd/src/notebook.c	2006-12-01 09:49:03 UTC (rev 24022)
@@ -320,8 +320,9 @@
 
 	LSQArchive *archive = sq_archive_store_get_archive(SQ_ARCHIVE_STORE(archive_store));
 
-	//if(archive)
-	//g_signal_handlers_disconnect_by_func(archive, cb_notebook_archive_refreshed, treeview);
+	if(archive)
+		g_signal_handlers_disconnect_by_func(archive, cb_notebook_archive_refreshed, treeview);
+	sq_navigation_bar_set_store(SQ_NOTEBOOK(notebook)->navigation_bar, NULL);
 	g_object_unref(archive_store);
 
 	lsq_close_archive(archive);



More information about the Xfce4-commits mailing list