From b39594d0261c1a2e43972f4323dc39eacbbbdbac Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Wed, 5 Feb 2025 17:37:07 +0600 Subject: [PATCH] Entries emptiness checks --- source/ubl-settings-logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ubl-settings-logging.c b/source/ubl-settings-logging.c index 3fad7b6..37b9cd2 100644 --- a/source/ubl-settings-logging.c +++ b/source/ubl-settings-logging.c @@ -1118,7 +1118,7 @@ void on_logrotate_save(GtkWidget *, dictionary *dict){ if (active==2){ const char *text = gtk_entry_get_text(GTK_ENTRY(window->FileAmountEntry)); if (yon_char_is_empty(text)){ - yon_ubl_status_box_spawn(window->StatusBox,EMPTY_IMPORTANT_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE); + yon_ubl_status_box_spawn(GTK_CONTAINER(window->StatusBox),EMPTY_IMPORTANT_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE); yon_ubl_status_highlight_incorrect(window->FileAmountEntry); return; }