comparison lwlib/lwlib-Xaw.c @ 108023:150fd3d78f5a

Declarations before code (Bug#5993). * data.c (make_blv): Declarations before code (Bug#5993). * xlwmenu.c (expose_cb): * lwlib-Xaw.c (fill_xft_data): Declarations before code (Bug#5993).
author Jan D. <jan.h.d@swipnet.se>
date Wed, 21 Apr 2010 18:13:55 +0200
parents aa85632b7860
children 247a650c5ccd
comparison
equal deleted inserted replaced
108022:2db141e51824 108023:150fd3d78f5a
148 148
149 #ifdef HAVE_XFT 149 #ifdef HAVE_XFT
150 static void 150 static void
151 fill_xft_data (struct widget_xft_data *data, Widget widget, XftFont *font) 151 fill_xft_data (struct widget_xft_data *data, Widget widget, XftFont *font)
152 { 152 {
153 data->widget = widget;
154 data->xft_font = font;
155 Pixel bg, fg; 153 Pixel bg, fg;
156 XColor colors[2]; 154 XColor colors[2];
157 int screen = XScreenNumberOfScreen (XtScreen (widget)); 155 int screen = XScreenNumberOfScreen (XtScreen (widget));
158 156
157 data->widget = widget;
158 data->xft_font = font;
159 XtVaGetValues (widget, 159 XtVaGetValues (widget,
160 XtNbackground, &bg, 160 XtNbackground, &bg,
161 XtNforeground, &fg, 161 XtNforeground, &fg,
162 NULL); 162 NULL);
163 163