summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvanadiae <vanadiae35@gmail.com>2020-11-17 20:14:51 +0100
committervanadiae <vanadiae35@gmail.com>2020-11-17 20:19:16 +0100
commitbc4969ec42d8d5686cd18b35f053496570bd0279 (patch)
tree790c5c44f1fc38905924b08ecc2a730d31617f72
parent5cc5022a8fd4188fc88df376a315f5ddb8eca899 (diff)
downloadgtk+-bc4969ec42d8d5686cd18b35f053496570bd0279.tar.gz
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.
-rw-r--r--gtk/gtkenums.h7
1 files 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
{