diff audacious/widgets/textbox.c @ 1795:c9032deca2fd trunk

[svn] - silently ignore text updates if we're not visible (bugfix)
author nenolod
date Wed, 04 Oct 2006 19:53:37 -0700
parents 837983bac90f
children 1c0856eceaaa
line wrap: on
line diff
--- a/audacious/widgets/textbox.c	Wed Oct 04 19:47:24 2006 -0700
+++ b/audacious/widgets/textbox.c	Wed Oct 04 19:53:37 2006 -0700
@@ -160,6 +160,7 @@
 {
     g_return_if_fail(tb != NULL);
     g_return_if_fail(text != NULL);
+    g_return_if_fail(tb->tb_widget.visible == FALSE);
 
     widget_lock(WIDGET(tb));