[Xfce4-commits] r24082 - squeeze/trunk/src
Stephan Arts
stephan at xfce.org
Mon Dec 11 23:57:34 CET 2006
Author: stephan
Date: 2006-12-11 22:57:34 +0000 (Mon, 11 Dec 2006)
New Revision: 24082
Modified:
squeeze/trunk/src/notebook.c
Log:
Fixed segfault
Modified: squeeze/trunk/src/notebook.c
===================================================================
--- squeeze/trunk/src/notebook.c 2006-12-11 22:11:30 UTC (rev 24081)
+++ squeeze/trunk/src/notebook.c 2006-12-11 22:57:34 UTC (rev 24082)
@@ -328,7 +328,8 @@
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);
+ if(SQ_NOTEBOOK(notebook)->navigation_bar)
+ sq_navigation_bar_set_store(((SQNotebook *)notebook)->navigation_bar, NULL);
g_object_unref(archive_store);
lsq_close_archive(archive);
More information about the Xfce4-commits
mailing list