termpty_init/shutdown() are now called globally
SVN revision: 83360
This commit is contained in:
parent
85e60bbf74
commit
d9d7318041
|
@ -1230,6 +1230,8 @@ main_term_new(Win *wn, Config *config, const char *cmd,
|
||||||
|
|
||||||
if (!config) abort();
|
if (!config) abort();
|
||||||
|
|
||||||
|
termpty_init();
|
||||||
|
|
||||||
term->wn = wn;
|
term->wn = wn;
|
||||||
term->hold = hold;
|
term->hold = hold;
|
||||||
term->config = config;
|
term->config = config;
|
||||||
|
@ -2051,6 +2053,8 @@ remote:
|
||||||
main_win_free(wn);
|
main_win_free(wn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
termpty_shutdown();
|
||||||
|
|
||||||
config_shutdown();
|
config_shutdown();
|
||||||
eina_log_domain_unregister(_log_domain);
|
eina_log_domain_unregister(_log_domain);
|
||||||
_log_domain = -1;
|
_log_domain = -1;
|
||||||
|
|
|
@ -2358,8 +2358,6 @@ _smart_del(Evas_Object *obj)
|
||||||
sd->glayer = NULL;
|
sd->glayer = NULL;
|
||||||
ecore_imf_shutdown();
|
ecore_imf_shutdown();
|
||||||
|
|
||||||
termpty_shutdown();
|
|
||||||
|
|
||||||
_parent_sc.del(obj);
|
_parent_sc.del(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2564,7 +2562,6 @@ termio_add(Evas_Object *parent, Config *config, const char *cmd, Eina_Bool login
|
||||||
ELM_GESTURE_STATE_ABORT, _smart_cb_gest_zoom_abort,
|
ELM_GESTURE_STATE_ABORT, _smart_cb_gest_zoom_abort,
|
||||||
obj);
|
obj);
|
||||||
|
|
||||||
termpty_init();
|
|
||||||
|
|
||||||
sd->pty = termpty_new(cmd, login_shell, cd, w, h, config->scrollback);
|
sd->pty = termpty_new(cmd, login_shell, cd, w, h, config->scrollback);
|
||||||
sd->pty->cb.change.func = _smart_pty_change;
|
sd->pty->cb.change.func = _smart_pty_change;
|
||||||
|
|
Loading…
Reference in New Issue