changeset 1797:1c0856eceaaa trunk

[svn] - fix
author nenolod
date Wed, 04 Oct 2006 20:05:42 -0700
parents 478aac0762cc
children 565e9c1f8d4f
files ChangeLog audacious/widgets/textbox.c
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Oct 04 20:00:44 2006 -0700
+++ b/ChangeLog	Wed Oct 04 20:05:42 2006 -0700
@@ -1,3 +1,11 @@
+2006-10-05 03:00:44 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [2549]
+  - default visibility hints
+  
+  trunk/audacious/widgets/skin.c |    3 +++
+  1 file changed, 3 insertions(+)
+
+
 2006-10-05 02:53:37 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2547]
   - silently ignore text updates if we're not visible (bugfix)
--- a/audacious/widgets/textbox.c	Wed Oct 04 20:00:44 2006 -0700
+++ b/audacious/widgets/textbox.c	Wed Oct 04 20:05:42 2006 -0700
@@ -42,6 +42,7 @@
     GdkPixmap *src;
 
     g_return_if_fail(tb != NULL);
+    g_return_if_fail(tb->tb_widget.visible != FALSE);
 
     if (tb->tb_text &&
         (!tb->tb_pixmap_text || strcmp(tb->tb_text, tb->tb_pixmap_text)))
@@ -160,7 +161,6 @@
 {
     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));