summaryrefslogtreecommitdiff
path: root/uisimulator/x11/uibasic.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/x11/uibasic.c')
-rw-r--r--uisimulator/x11/uibasic.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/uisimulator/x11/uibasic.c b/uisimulator/x11/uibasic.c
index b47362b9d0..19ab9c5980 100644
--- a/uisimulator/x11/uibasic.c
+++ b/uisimulator/x11/uibasic.c
@@ -71,7 +71,6 @@ void init_window ()
71{ 71{
72 XGCValues gcv; 72 XGCValues gcv;
73 XWindowAttributes xgwa; 73 XWindowAttributes xgwa;
74 char *test_p;
75 74
76 XGetWindowAttributes (dpy, window, &xgwa); 75 XGetWindowAttributes (dpy, window, &xgwa);
77 76
@@ -176,15 +175,12 @@ void drawtext(int color, int x, int y, char *text)
176 XDrawString(dpy, window, draw_gc, x, y, text, strlen(text)); 175 XDrawString(dpy, window, draw_gc, x, y, text, strlen(text));
177} 176}
178 177
178/* this is where the applicaton starts */
179extern void app_main(void);
179 180
180void 181void
181screenhack (Display *the_dpy, Window the_window) 182screenhack (Display *the_dpy, Window the_window)
182{ 183{
183 unsigned short porttouse=0;
184 char *proxy = NULL;
185 char *url = NULL;
186 int i;
187 char *guiname="Rock-the-box";
188 Bool helpme; 184 Bool helpme;
189 185
190 /* This doesn't work, but I don't know why (Daniel 1999-12-01) */ 186 /* This doesn't work, but I don't know why (Daniel 1999-12-01) */
@@ -206,8 +202,6 @@ screenhack (Display *the_dpy, Window the_window)
206 202
207void screen_redraw() 203void screen_redraw()
208{ 204{
209 int y, x;
210
211 /* draw a border around the "Recorder" screen */ 205 /* draw a border around the "Recorder" screen */
212 206
213#define X1 0 207#define X1 0