From de0dca58fb134edb228655a94350e22a0cfae88b Mon Sep 17 00:00:00 2001 From: Alice Mikhaylenko Date: Thu, 14 Sep 2023 12:27:34 +0400 Subject: [PATCH] breakpoint-bin: Clarify minimum size warnings --- src/adw-breakpoint-bin.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/adw-breakpoint-bin.c b/src/adw-breakpoint-bin.c index 1cb7317f8..990ffd7fd 100644 --- a/src/adw-breakpoint-bin.c +++ b/src/adw-breakpoint-bin.c @@ -190,13 +190,16 @@ allocate_child (AdwBreakpointBin *self, &window_width, &window_height); if (window_width <= 0 && window_height <= 0) - g_warning ("%s %p does not have a minimum size", + g_warning ("%s %p does not have a minimum size, set the 'width-request' " + "and 'height-request' properties to specify it", G_OBJECT_TYPE_NAME (warning_widget), warning_widget); else if (window_width <= 0) - g_warning ("%s %p does not have a minimum width", + g_warning ("%s %p does not have a minimum width, set the " + "'width-request' property to specify it", G_OBJECT_TYPE_NAME (warning_widget), warning_widget); else if (window_height <= 0) - g_warning ("%s %p does not have a minimum height", + g_warning ("%s %p does not have a minimum height, set the " + "'height-request' property to specify it", G_OBJECT_TYPE_NAME (warning_widget), warning_widget); } -- GitLab