From 1101765154339774e2ad4a415021e3bf220df640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=B4=D0=BC=D0=B8=D0=BD=D0=B8=D1=81=D1=82=D1=80?= =?UTF-8?q?=D0=B0=D1=82=D0=BE=D1=80?= Date: Mon, 29 Jul 2024 11:05:36 +0000 Subject: [PATCH] Removed few warning to prevent spam --- source/libublsettings-gtk3.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/source/libublsettings-gtk3.c b/source/libublsettings-gtk3.c index eaec166..8807f32 100644 --- a/source/libublsettings-gtk3.c +++ b/source/libublsettings-gtk3.c @@ -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); } 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{ yon_get_is_fullscreen(); 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; } } else { - g_warning("config file were not loaded properly"); + // g_warning("config file were not loaded properly"); } 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); 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; 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){