[gtk/wip/baedert/for-master] baseline = -1 means no baseline




commit 2b062d60f2f02d825ffc55c3355b670be89ef212
Author: Timm Bäder <mail baedert org>
Date:   Fri Dec 31 10:42:07 2021 +0100

    baseline = -1 means no baseline
    
    Fixes #4385

 gtk/gtksizerequest.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtksizerequest.c b/gtk/gtksizerequest.c
index 7c34c7757c..637a705f87 100644
--- a/gtk/gtksizerequest.c
+++ b/gtk/gtksizerequest.c
@@ -461,9 +461,9 @@ gtk_widget_query_size_for_orientation (GtkWidget        *widget,
  * @minimum: (out) (optional): location to store the minimum size
  * @natural: (out) (optional): location to store the natural size
  * @minimum_baseline: (out) (optional): location to store the baseline
- *   position for the minimum size
+ *   position for the minimum size, or -1 to report no baseline
  * @natural_baseline: (out) (optional): location to store the baseline
- *   position for the natural size
+ *   position for the natural size, or -1 to report no baseline
  *
  * Measures @widget in the orientation @orientation and for the given @for_size.
  *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]