From b5ae960de48d57e4a8dfbb75427cc53933c91250 Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Thu, 12 Dec 2013 09:40:10 +0000 Subject: [PATCH] Removendo funções sem uso, atualizando tradução --- hostselect.c | 2 +- iocallback.c | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/hostselect.c b/hostselect.c index 04cf4d1..6dc6721 100644 --- a/hostselect.c +++ b/hostselect.c @@ -383,7 +383,7 @@ LIB3270_EXPORT void v3270_select_host(GtkWidget *widget) GtkWidget * dialog = v3270_host_select_new(widget); GtkWidget * win = gtk_dialog_new_with_buttons( - _( "Select hostname" ), + _( "Configure host" ), GTK_WINDOW(gtk_widget_get_toplevel(widget)), GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT, _( "_Cancel" ), GTK_RESPONSE_REJECT, diff --git a/iocallback.c b/iocallback.c index 5976636..260e9b6 100644 --- a/iocallback.c +++ b/iocallback.c @@ -43,7 +43,7 @@ #include #include "../globals.h" -static int static_CallAndWait(int(*callback)(H3270 *session, void *), H3270 *session, void *parm); +// static int static_CallAndWait(int(*callback)(H3270 *session, void *), H3270 *session, void *parm); static void static_RemoveSource(void *id); static void * static_AddInput(int source, H3270 *session, void (*fn)(H3270 *session)); @@ -265,6 +265,7 @@ gpointer BgCall(struct bgParameter *p) return 0; } +/* static int static_CallAndWait(int(*callback)(H3270 *session, void *), H3270 *session, void *parm) { struct bgParameter p = { TRUE, session, -1, callback, parm }; @@ -286,6 +287,7 @@ static int static_CallAndWait(int(*callback)(H3270 *session, void *), H3270 *ses return p.rc; } +*/ static int static_Sleep(H3270 *hSession, int seconds) { @@ -333,12 +335,13 @@ void v3270_register_io_handlers(v3270Class *cls) static_AddExcept, +/* #ifdef G_THREADS_ENABLED static_CallAndWait, #else NULL, #endif - +*/ static_Sleep, static_RunPendingEvents, beep -- libgit2 0.21.2