Skip to content

Commit

Permalink
removed unimportant traces, do not trace cmd_path after free
Browse files Browse the repository at this point in the history
  • Loading branch information
nonstop committed Jan 9, 2020
1 parent 0b5462e commit 8192224
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/lua_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ void termit_lua_report_error(const char* file, int line, int status)

static int termit_lua_setOptions(lua_State* ls)
{
TRACE_MSG(__FUNCTION__);
termit_lua_load_table(ls, termit_lua_options_loader, 1, &configs);
if (configs.default_tabs) {
guint i = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/termit.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ int main(int argc, char **argv)
g_signal_connect(G_OBJECT (termit.main_window), "destroy", G_CALLBACK (termit_on_destroy), NULL);
g_signal_connect(G_OBJECT (termit.main_window), "key-press-event", G_CALLBACK(termit_on_key_press), NULL);

TRACE("window: came=[%s] class=[%s] role=[%s] title=[%s]",
TRACE("window: name=[%s] class=[%s] role=[%s] title=[%s]",
windowName, windowClass, windowRole, windowTitle);
if (windowName || windowClass) {
gtk_window_set_wmclass(GTK_WINDOW(termit.main_window), windowName, windowClass);
Expand Down
2 changes: 1 addition & 1 deletion src/termit_core_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ void termit_append_tab_with_details(const struct TabInfo* ti)
g_error_free(cmd_err);
return;
}
TRACE("command=%s cmd_path=%s pid=%d", pTab->argv[0], cmd_path, pTab->pid);
TRACE("command=%s pid=%d", pTab->argv[0], pTab->pid);

g_signal_connect(G_OBJECT(pTab->vte), "bell", G_CALLBACK(termit_on_beep), pTab);
g_signal_connect(G_OBJECT(pTab->vte), "focus-in-event", G_CALLBACK(termit_on_focus), pTab);
Expand Down

0 comments on commit 8192224

Please sign in to comment.