diff finch/libgnt/gntws.c @ 22772:19dffacf8638

merge of '6bf9ac8e017081c907061167edd28a1adcbec3c9' and '91a643a04016322c0da1e540889a828686bb5d8d'
author Evan Schoenberg <evan.s@dreskin.net>
date Tue, 29 Apr 2008 03:57:06 +0000
parents bec28e60aff6
children a18f421696dc
line wrap: on
line diff
--- a/finch/libgnt/gntws.c	Tue Apr 29 03:56:56 2008 +0000
+++ b/finch/libgnt/gntws.c	Tue Apr 29 03:57:06 2008 +0000
@@ -13,7 +13,8 @@
 	GntNode *node = g_hash_table_lookup(nodes, widget);
 	if (GNT_IS_WINDOW(widget))
 		gnt_window_workspace_hiding(GNT_WINDOW(widget));
-	hide_panel(node->panel);
+	if (node)
+		hide_panel(node->panel);
 }
 
 static void