From 242a223b0f599306f3d5dcc5783117e42c779594 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Tue, 30 Jan 2024 09:56:36 +0600 Subject: [PATCH] Fixed building --- source/ubl-settings-system.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/ubl-settings-system.c b/source/ubl-settings-system.c index 096c688..a75d5bb 100644 --- a/source/ubl-settings-system.c +++ b/source/ubl-settings-system.c @@ -167,7 +167,7 @@ void yon_config_global_local_save(){ template_saving_window *window = yon_save_proceed(NULL,YON_CONFIG_BOTH,hostname_section,hostname_parameter,id_section,id_parameter,console_font_section,console_font_parameter,locale_section,locale_parameter,language_section,language_parameter,NULL); if (window){ if (changed){ - yon_ubl_status_box_spawn_infinite(GTK_CONTAINER(window->StatusBox),SAVE_WARNING_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE); + yon_ubl_status_box_spawn_infinite(GTK_CONTAINER(window->StatusBox),"warning",SAVE_WARNING_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE); } } else { yon_ubl_status_box_render(SAVE_WARNING_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE); @@ -181,7 +181,7 @@ void yon_config_local_save(){ template_saving_window *window = yon_save_proceed("system",YON_CONFIG_LOCAL,hostname_section,hostname_parameter,id_section,id_parameter,console_font_section,console_font_parameter,locale_section,locale_parameter,language_section,language_parameter,NULL); if (window){ if (changed){ - yon_ubl_status_box_spawn_infinite(GTK_CONTAINER(window->StatusBox),SAVE_WARNING_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE); + yon_ubl_status_box_spawn_infinite(GTK_CONTAINER(window->StatusBox),"warning",SAVE_WARNING_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE); } } else { yon_ubl_status_box_render(SAVE_WARNING_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE); @@ -195,7 +195,7 @@ void yon_config_global_save(){ template_saving_window *window = yon_save_proceed("global",YON_CONFIG_GLOBAL,hostname_section,hostname_parameter,id_section,id_parameter,console_font_section,console_font_parameter,locale_section,locale_parameter,language_section,language_parameter,NULL); if (window){ if (changed){ - yon_ubl_status_box_spawn_infinite(GTK_CONTAINER(window->StatusBox),SAVE_WARNING_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE); + yon_ubl_status_box_spawn_infinite(GTK_CONTAINER(window->StatusBox),"warning",SAVE_WARNING_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE); } } else { yon_ubl_status_box_render(SAVE_WARNING_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE); @@ -489,7 +489,7 @@ int main(int argc, char *argv[]){ if(optarg) main_config.load_socket_id=atoi(optarg); break; - case 'c': system(yon_char_unite("rm -rfd ", yon_ubl_user_get_home_directory(),"/.config/",LocaleName,"/",NULL)); + case 'c': if (system(yon_char_unite("rm -rfd ", yon_ubl_user_get_home_directory(),"/.config/",LocaleName,"/",NULL))){}; break; case 1: main_config.lock_help=1;