changeset 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 4d2a5c9adc96
children 478aac0762cc
files ChangeLog audacious/widgets/textbox.c
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Oct 04 19:47:24 2006 -0700
+++ b/ChangeLog	Wed Oct 04 19:53:37 2006 -0700
@@ -1,3 +1,11 @@
+2006-10-05 02:47:24 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [2545]
+  - this should be a continue not a return (oops)
+  
+  trunk/audacious/widgets/widget.c |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2006-10-05 02:45:14 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2543]
   - do not draw widgets which are invisible (performance tweak)
--- 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));