From bc4969ec42d8d5686cd18b35f053496570bd0279 Mon Sep 17 00:00:00 2001 From: vanadiae Date: Tue, 17 Nov 2020 20:14:51 +0100 Subject: doc: Adapt GtkPackType documentation to GTK4 changes Since GTK4, the functions that used the GtkPackType enumeration, `gtk_box_pack_{start,end}`, were replaced by `gtk_box_{append,prepend}`, hence this enumeration isn't used anymore by any function within the GtkBox type, and the child packing properties were also removed for GTK4. So this commit adapts the documentation accordingly. --- gtk/gtkenums.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h index 206fdbef12..d3b6b3e6b2 100644 --- a/gtk/gtkenums.h +++ b/gtk/gtkenums.h @@ -343,10 +343,11 @@ typedef enum /** * GtkPackType: - * @GTK_PACK_START: The child is packed into the start of the box - * @GTK_PACK_END: The child is packed into the end of the box + * @GTK_PACK_START: The child is packed into the start of the widget + * @GTK_PACK_END: The child is packed into the end of the widget * - * Represents the packing location #GtkBox children + * Represents the packing location of a children in its parent. + * See #GtkWindowControls for example. */ typedef enum { -- cgit v1.2.1