Commit 1fe4862103d8c154b66f2ea7e893833b76a1600b
1 parent
2303a6ab
Exists in
master
and in
1 other branch
Removing lib3270 log redirection.
Showing
1 changed file
with
0 additions
and
7 deletions
Show diff stats
src/terminal/widget.c
| @@ -219,11 +219,6 @@ gboolean v3270_query_tooltip(GtkWidget *widget, gint x, gint y, G_GNUC_UNUSED g | @@ -219,11 +219,6 @@ gboolean v3270_query_tooltip(GtkWidget *widget, gint x, gint y, G_GNUC_UNUSED g | ||
| 219 | return FALSE; | 219 | return FALSE; |
| 220 | } | 220 | } |
| 221 | 221 | ||
| 222 | -static void loghandler(G_GNUC_UNUSED H3270 *session, const char *module, int rc, const char *fmt, va_list args) | ||
| 223 | -{ | ||
| 224 | - g_logv(module,rc ? G_LOG_LEVEL_WARNING : G_LOG_LEVEL_MESSAGE, fmt, args); | ||
| 225 | -} | ||
| 226 | - | ||
| 227 | static void v3270_toggle_changed(G_GNUC_UNUSED v3270 *widget, G_GNUC_UNUSED LIB3270_TOGGLE toggle_id, G_GNUC_UNUSED gboolean toggle_state, G_GNUC_UNUSED const gchar *toggle_name) | 222 | static void v3270_toggle_changed(G_GNUC_UNUSED v3270 *widget, G_GNUC_UNUSED LIB3270_TOGGLE toggle_id, G_GNUC_UNUSED gboolean toggle_state, G_GNUC_UNUSED const gchar *toggle_name) |
| 228 | { | 223 | { |
| 229 | } | 224 | } |
| @@ -253,8 +248,6 @@ static void v3270_class_init(v3270Class *klass) | @@ -253,8 +248,6 @@ static void v3270_class_init(v3270Class *klass) | ||
| 253 | // Setup widget key bindings | 248 | // Setup widget key bindings |
| 254 | gtk_binding_entry_skip(binding,GDK_F10,0); | 249 | gtk_binding_entry_skip(binding,GDK_F10,0); |
| 255 | 250 | ||
| 256 | - lib3270_set_log_handler(loghandler); | ||
| 257 | - | ||
| 258 | // Object methods | 251 | // Object methods |
| 259 | gobject_class->finalize = finalize; | 252 | gobject_class->finalize = finalize; |
| 260 | 253 |