diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-06-14 11:00:13 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-06-14 11:00:13 +0000 |
commit | ed6c7e4e030ebf2b294ddcad830c88089f6f09af (patch) | |
tree | 1a86de1d2425a1d0a6c6b8e307b4d35e981f28fc /uisimulator/x11/uibasic.c | |
parent | 7a8d95d8ff1247486596ea5b5a95b02ec1fd5a3c (diff) | |
download | rockbox-ed6c7e4e030ebf2b294ddcad830c88089f6f09af.tar.gz rockbox-ed6c7e4e030ebf2b294ddcad830c88089f6f09af.zip |
warning hunt and kill session
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1000 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/x11/uibasic.c')
-rw-r--r-- | uisimulator/x11/uibasic.c | 10 |
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 */ | ||
179 | extern void app_main(void); | ||
179 | 180 | ||
180 | void | 181 | void |
181 | screenhack (Display *the_dpy, Window the_window) | 182 | screenhack (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 | ||
207 | void screen_redraw() | 203 | void 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 |