Remove debug outputs

This commit is contained in:
daleclack 2024-02-06 11:19:31 +08:00
parent 393e5380f1
commit a1fdb4d12f
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
{"background":"/home/dale/图片/Screenshot_20230716_102210.png","background_folders":[],"folder_index":2,"height":576,"image_index":3,"panel_mode":1,"position":0,"width":1024}
{"background":"/home/dale/a776b29775e671740a97c2b10ea114d7.jpg","background_folders":[],"folder_index":1,"height":576,"image_index":2,"panel_mode":1,"position":0,"width":1024}

View File

@ -518,7 +518,7 @@ static void my_prefs_save_config(MyPrefs *self)
"width": 1024
}
)");
g_print("%s", self->image_file_name);
// g_print("%s", self->image_file_name);
data["folder_index"] = folder_index;
data["background"] = std::string(self->image_file_name);
data["height"] = height;
@ -646,7 +646,7 @@ void my_prefs_first_load(MyPrefs *self)
// Update image list by the folder selection
do
{
g_print("%s", folder_name);
// g_print("%s", folder_name);
self->file = g_file_new_for_path(folder_name);
GtkDirectoryList *dir_list = gtk_directory_list_new("", self->file);
gtk_directory_list_set_file(self->file_list, self->file);