Mercurial > audlegacy
comparison src/audacious/widgets/widget.c @ 2525:ddd127429fc6 trunk
[svn] - move the GC into the SkinnedWindow class.
author | nenolod |
---|---|
date | Thu, 15 Feb 2007 00:33:21 -0800 |
parents | e07c141dd326 |
children | 41d3854f3625 |
comparison
equal
deleted
inserted
replaced
2524:d135f97bf48d | 2525:ddd127429fc6 |
---|---|
127 } | 127 } |
128 | 128 |
129 void | 129 void |
130 widget_draw(Widget * widget) | 130 widget_draw(Widget * widget) |
131 { | 131 { |
132 g_return_if_fail(widget->visible == TRUE); | 132 if (widget->visible != TRUE) |
133 return; | |
133 | 134 |
134 widget_lock(widget); | 135 widget_lock(widget); |
135 WIDGET(widget)->redraw = TRUE; | 136 WIDGET(widget)->redraw = TRUE; |
136 widget_unlock(widget); | 137 widget_unlock(widget); |
137 } | 138 } |