changeset 1351:93fe7a68a689

fixed possible crash
author nadvornik
date Sun, 01 Mar 2009 00:10:00 +0000
parents 9d190c098b97
children d9197358ec5a
files src/bar.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/bar.c	Sat Feb 28 23:59:02 2009 +0000
+++ b/src/bar.c	Sun Mar 01 00:10:00 2009 +0000
@@ -236,7 +236,7 @@
 	
 	if (!bd) return;
 
-	expander = gtk_expander_new(pd ? pd->title : "");
+	expander = gtk_expander_new(NULL);
 	if (pd && pd->title)
 		{
 		gtk_expander_set_label_widget(GTK_EXPANDER(expander), pd->title);