test fix for g_key_file error

pull/21/head
parent 0c03edea09
commit c5d850447e

@ -180,6 +180,8 @@ void yon_terminal_integrated_start_shell(GtkWidget *terminal, char* command, voi
static char *__yon_window_config_path = NULL; static char *__yon_window_config_path = NULL;
void yon_window_config_save(){ void yon_window_config_save(){
check_window_config_setup {
g_key_file_set_integer(__yon_window_config_file,"window","WindowPosX",__yon_main_window_config.x); g_key_file_set_integer(__yon_window_config_file,"window","WindowPosX",__yon_main_window_config.x);
g_key_file_set_integer(__yon_window_config_file,"window","WindowPosY",__yon_main_window_config.y); g_key_file_set_integer(__yon_window_config_file,"window","WindowPosY",__yon_main_window_config.y);
g_key_file_set_integer(__yon_window_config_file,"window","WindowWidth",__yon_main_window_config.width); g_key_file_set_integer(__yon_window_config_file,"window","WindowWidth",__yon_main_window_config.width);
@ -229,6 +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);
} }
}
void yon_get_is_fullscreen(){ void yon_get_is_fullscreen(){
gtk_window_is_maximized(__yon_window_config_target_window); gtk_window_is_maximized(__yon_window_config_target_window);

Loading…
Cancel
Save