Commit 925b3ce9b38525f49f902ac6bacdf0d769a547a2
1 parent
5c8b3bdb
Exists in
master
and in
5 other branches
Removendo chamadas que não são mais usadas
Showing
1 changed file
with
0 additions
and
24 deletions
Show diff stats
src/pw3270/v3270/iocallback.c
| ... | ... | @@ -265,30 +265,6 @@ gpointer BgCall(struct bgParameter *p) |
| 265 | 265 | return 0; |
| 266 | 266 | } |
| 267 | 267 | |
| 268 | -/* | |
| 269 | -static int static_CallAndWait(int(*callback)(H3270 *session, void *), H3270 *session, void *parm) | |
| 270 | -{ | |
| 271 | - struct bgParameter p = { TRUE, session, -1, callback, parm }; | |
| 272 | - GThread *thread; | |
| 273 | - | |
| 274 | -// trace("Starting auxiliary thread for callback %p",callback); | |
| 275 | - | |
| 276 | - p.running = TRUE; | |
| 277 | - thread = g_thread_create( (GThreadFunc) BgCall, &p, 0, NULL); | |
| 278 | - | |
| 279 | - if(!thread) | |
| 280 | - { | |
| 281 | - g_error("Can't start background thread"); | |
| 282 | - return -1; | |
| 283 | - } | |
| 284 | - | |
| 285 | - while(p.running) | |
| 286 | - gtk_main_iteration(); | |
| 287 | - | |
| 288 | - return p.rc; | |
| 289 | -} | |
| 290 | -*/ | |
| 291 | - | |
| 292 | 268 | static int static_Sleep(H3270 *hSession, int seconds) |
| 293 | 269 | { |
| 294 | 270 | time_t end = time(0) + seconds; | ... | ... |