[gtk: 1/2] doc: Adapt GtkPackType documentation to GTK4 changes




commit bc4969ec42d8d5686cd18b35f053496570bd0279
Author: vanadiae <vanadiae35 gmail com>
Date:   Tue Nov 17 20:14:51 2020 +0100

    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
 {


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