Removed few warning to prevent spam

pull/23/head
Администратор 1 year ago
parent 1bc96d92a3
commit 1101765154

@ -231,7 +231,7 @@ void yon_terminal_integrated_start_shell(GtkWidget *terminal, char* command, voi
g_key_file_save_to_file(__yon_window_config_file,__yon_window_config_path,NULL); g_key_file_save_to_file(__yon_window_config_file,__yon_window_config_path,NULL);
} else { } else {
g_warning("config file were not loaded properly"); // g_warning("config file were not loaded properly");
} }
} }
@ -245,8 +245,6 @@ void yon_terminal_integrated_start_shell(GtkWidget *terminal, char* command, voi
check_window_config_setup{ check_window_config_setup{
yon_get_is_fullscreen(); yon_get_is_fullscreen();
yon_window_config_save(); yon_window_config_save();
} else {
g_warning("config file were not loaded properly");
} }
} }
@ -346,7 +344,7 @@ void yon_terminal_integrated_start_shell(GtkWidget *terminal, char* command, voi
return 1; return 1;
} }
} else { } else {
g_warning("config file were not loaded properly"); // g_warning("config file were not loaded properly");
} }
return 0; return 0;
} }
@ -398,8 +396,6 @@ void yon_terminal_integrated_start_shell(GtkWidget *terminal, char* command, voi
case YON_TYPE_STRING: g_key_file_set_string(__yon_window_config_file,section,param_name,(char*)tracked_value); case YON_TYPE_STRING: g_key_file_set_string(__yon_window_config_file,section,param_name,(char*)tracked_value);
break; break;
} }
} else {
g_warning("config file were not loaded properly");
} }
} }
@ -440,9 +436,8 @@ void yon_terminal_integrated_start_shell(GtkWidget *terminal, char* command, voi
if (err) return 0; else return 1; if (err) return 0; else return 1;
break; break;
} }
} else {
g_warning("config file were not loaded properly");
} }
return 0;
} }
void yon_on_window_config_custom_window_destroy(GtkWindow *window, GdkEvent* event, char *window_name){ void yon_on_window_config_custom_window_destroy(GtkWindow *window, GdkEvent* event, char *window_name){

Loading…
Cancel
Save