Commit 60c9f2d5dca2a5966099635278b878508afa8784
1 parent
ed33abb7
Exists in
master
and in
1 other branch
Using standard popup for SSL error.
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
src/terminal/callbacks.c
... | ... | @@ -378,6 +378,7 @@ static void popup_handler(H3270 *session, LIB3270_NOTIFY type, const char *title |
378 | 378 | g_idle_add_full(G_PRIORITY_DEFAULT_IDLE,(GSourceFunc) bg_update_oia, data, g_free); |
379 | 379 | } |
380 | 380 | |
381 | + /* | |
381 | 382 | static int popup_ssl_error(H3270 *session, int rc, const char *title, const char *summary, const char *body) |
382 | 383 | { |
383 | 384 | GtkWidget *terminal = (GtkWidget *) lib3270_get_user_data(session); |
... | ... | @@ -427,6 +428,7 @@ static void popup_handler(H3270 *session, LIB3270_NOTIFY type, const char *title |
427 | 428 | |
428 | 429 | return -1; |
429 | 430 | } |
431 | + */ | |
430 | 432 | |
431 | 433 | static int popup_show(H3270 *hSession, const LIB3270_POPUP *popup, unsigned char wait) { |
432 | 434 | |
... | ... | @@ -481,7 +483,7 @@ static void popup_handler(H3270 *session, LIB3270_NOTIFY type, const char *title |
481 | 483 | cbk->save = save; |
482 | 484 | cbk->load = load; |
483 | 485 | |
484 | - cbk->popup_ssl_error = popup_ssl_error; | |
486 | +// cbk->popup_ssl_error = popup_ssl_error; | |
485 | 487 | cbk->popup_show = popup_show; |
486 | 488 | |
487 | 489 | } | ... | ... |