Commit b5ae960de48d57e4a8dfbb75427cc53933c91250

Authored by perry.werneck@gmail.com
1 parent f52757fd
Exists in master and in 1 other branch develop

Removendo funções sem uso, atualizando tradução

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