Commit b5ae960de48d57e4a8dfbb75427cc53933c91250
1 parent
f52757fd
Exists in
master
and in
1 other branch
Removendo funções sem uso, atualizando tradução
Showing
2 changed files
with
6 additions
and
3 deletions
Show diff stats
hostselect.c
| ... | ... | @@ -383,7 +383,7 @@ LIB3270_EXPORT void v3270_select_host(GtkWidget *widget) |
| 383 | 383 | |
| 384 | 384 | GtkWidget * dialog = v3270_host_select_new(widget); |
| 385 | 385 | GtkWidget * win = gtk_dialog_new_with_buttons( |
| 386 | - _( "Select hostname" ), | |
| 386 | + _( "Configure host" ), | |
| 387 | 387 | GTK_WINDOW(gtk_widget_get_toplevel(widget)), |
| 388 | 388 | GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT, |
| 389 | 389 | _( "_Cancel" ), GTK_RESPONSE_REJECT, | ... | ... |
iocallback.c
| ... | ... | @@ -43,7 +43,7 @@ |
| 43 | 43 | #include <glib.h> |
| 44 | 44 | #include "../globals.h" |
| 45 | 45 | |
| 46 | -static int static_CallAndWait(int(*callback)(H3270 *session, void *), H3270 *session, void *parm); | |
| 46 | +// static int static_CallAndWait(int(*callback)(H3270 *session, void *), H3270 *session, void *parm); | |
| 47 | 47 | static void static_RemoveSource(void *id); |
| 48 | 48 | |
| 49 | 49 | static void * static_AddInput(int source, H3270 *session, void (*fn)(H3270 *session)); |
| ... | ... | @@ -265,6 +265,7 @@ gpointer BgCall(struct bgParameter *p) |
| 265 | 265 | return 0; |
| 266 | 266 | } |
| 267 | 267 | |
| 268 | +/* | |
| 268 | 269 | static int static_CallAndWait(int(*callback)(H3270 *session, void *), H3270 *session, void *parm) |
| 269 | 270 | { |
| 270 | 271 | struct bgParameter p = { TRUE, session, -1, callback, parm }; |
| ... | ... | @@ -286,6 +287,7 @@ static int static_CallAndWait(int(*callback)(H3270 *session, void *), H3270 *ses |
| 286 | 287 | |
| 287 | 288 | return p.rc; |
| 288 | 289 | } |
| 290 | +*/ | |
| 289 | 291 | |
| 290 | 292 | static int static_Sleep(H3270 *hSession, int seconds) |
| 291 | 293 | { |
| ... | ... | @@ -333,12 +335,13 @@ void v3270_register_io_handlers(v3270Class *cls) |
| 333 | 335 | |
| 334 | 336 | static_AddExcept, |
| 335 | 337 | |
| 338 | +/* | |
| 336 | 339 | #ifdef G_THREADS_ENABLED |
| 337 | 340 | static_CallAndWait, |
| 338 | 341 | #else |
| 339 | 342 | NULL, |
| 340 | 343 | #endif |
| 341 | - | |
| 344 | +*/ | |
| 342 | 345 | static_Sleep, |
| 343 | 346 | static_RunPendingEvents, |
| 344 | 347 | beep | ... | ... |