From 753b5724001079c3352d23a911488044884dcf5b Mon Sep 17 00:00:00 2001 From: belugas Date: Tue, 3 Oct 2006 02:08:15 +0000 Subject: (svn r6619) -Codechange: Use accessors for disabled_state. Another step toward merging XTDwidget. The only two files not converted (window.h and widget.c) will be done at the very last commit) --- music_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'music_gui.c') diff --git a/music_gui.c b/music_gui.c index c98ead015..6174337c0 100644 --- a/music_gui.c +++ b/music_gui.c @@ -199,7 +199,7 @@ static void MusicTrackSelectionWndProc(Window *w, WindowEvent *e) uint i; int y; - w->disabled_state = (msf.playlist <= 3) ? (1 << 11) : 0; + SetWindowWidgetDisabledState(w, 11, msf.playlist <= 3); w->click_state |= 0x18; DrawWindowWidgets(w); -- cgit v1.2.3-54-g00ecf