From 527b72749d5160eceb6e5999c0f329701b14ee47 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 2 Dec 2007 14:29:48 +0000 Subject: (svn r11555) -Codechange: use the new members introduced in r11551. --- src/transparency_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/transparency_gui.cpp') diff --git a/src/transparency_gui.cpp b/src/transparency_gui.cpp index d66f494b9..1dd64a32e 100644 --- a/src/transparency_gui.cpp +++ b/src/transparency_gui.cpp @@ -37,7 +37,7 @@ static void TransparencyToolbWndProc(Window *w, WindowEvent *e) /* must be sure that the widgets show the transparency variable changes * also when we use shortcuts */ for (uint i = TTW_WIDGET_SIGNS; i < TTW_WIDGET_END; i++) { - SetWindowWidgetLoweredState(w, i, IsTransparencySet((TransparencyOption)(i - TTW_WIDGET_SIGNS))); + w->SetWidgetLoweredState(i, IsTransparencySet((TransparencyOption)(i - TTW_WIDGET_SIGNS))); } DrawWindowWidgets(w); break; -- cgit v1.2.3-54-g00ecf