diff src/layout.c @ 583:de3e2bc22336

Revert patch 675, and correctly fix gtk assertion failure.
author zas_
date Mon, 05 May 2008 08:32:18 +0000
parents 3da75054d4e1
children 905688aa2317
line wrap: on
line diff
--- a/src/layout.c	Mon May 05 08:15:52 2008 +0000
+++ b/src/layout.c	Mon May 05 08:32:18 2008 +0000
@@ -567,7 +567,7 @@
 		image_osd_update(lw->image);
 		}
 
-	gtk_label_set_text(GTK_LABEL(lw->info_status), text);
+	if (lw->info_status) gtk_label_set_text(GTK_LABEL(lw->info_status), text);
 	g_free(buf);
 }