Merged in release-2.x.y (pull request #33)
Add docs that struct field access is deprecated.
Approved-by: Gary Kramlich
--- a/gntbox.h Fri Apr 19 06:32:07 2019 -0400
+++ b/gntbox.h Fri Apr 19 18:51:55 2019 +0000
@@ -55,6 +55,11 @@
+ * Access to any fields is deprecated. See inline comments for replacements. --- a/gntbutton.h Fri Apr 19 06:32:07 2019 -0400
+++ b/gntbutton.h Fri Apr 19 18:51:55 2019 +0000
@@ -51,6 +51,11 @@
+ * Access to any fields is deprecated. See inline comments for replacements. --- a/gntcheckbox.h Fri Apr 19 06:32:07 2019 -0400
+++ b/gntcheckbox.h Fri Apr 19 18:51:55 2019 +0000
@@ -50,6 +50,11 @@
typedef struct _GntCheckBoxPriv GntCheckBoxPriv;
typedef struct _GntCheckBoxClass GntCheckBoxClass;
+ * Access to any fields is deprecated. See inline comments for replacements. --- a/gntclipboard.h Fri Apr 19 06:32:07 2019 -0400
+++ b/gntclipboard.h Fri Apr 19 18:51:55 2019 +0000
@@ -51,6 +51,11 @@
typedef struct _GntClipboard GntClipboard;
typedef struct _GntClipboardClass GntClipboardClass;
+ * Access to any fields is deprecated. See inline comments for replacements. --- a/gntcombobox.h Fri Apr 19 06:32:07 2019 -0400
+++ b/gntcombobox.h Fri Apr 19 18:51:55 2019 +0000
@@ -49,6 +49,11 @@
typedef struct _GntComboBoxPriv GntComboBoxPriv;
typedef struct _GntComboBoxClass GntComboBoxClass;
+ * Access to any fields is deprecated. See inline comments for replacements. --- a/gntentry.h Fri Apr 19 06:32:07 2019 -0400
+++ b/gntentry.h Fri Apr 19 18:51:55 2019 +0000
@@ -64,6 +64,11 @@
#define GNT_ENTRY_FLAG_ALL (GNT_ENTRY_FLAG_ALPHA | GNT_ENTRY_FLAG_INT)
+ * Access to any fields is deprecated. See inline comments for replacements. --- a/gntfilesel.h Fri Apr 19 06:32:07 2019 -0400
+++ b/gntfilesel.h Fri Apr 19 18:51:55 2019 +0000
@@ -50,6 +50,11 @@
typedef struct _GntFileSelClass GntFileSelClass;
typedef struct _GntFile GntFile;
+ * Access to any fields is deprecated. See inline comments for replacements. --- a/gntlabel.h Fri Apr 19 06:32:07 2019 -0400
+++ b/gntlabel.h Fri Apr 19 18:51:55 2019 +0000
@@ -43,6 +43,11 @@
typedef struct _GntLabel GntLabel;
typedef struct _GntLabelClass GntLabelClass;
+ * Access to any fields is deprecated. See inline comments for replacements. --- a/gntline.h Fri Apr 19 06:32:07 2019 -0400
+++ b/gntline.h Fri Apr 19 18:51:55 2019 +0000
@@ -49,6 +49,11 @@
typedef struct _GntLinePriv GntLinePriv;
typedef struct _GntLineClass GntLineClass;
+ * Access to any fields is deprecated. See inline comments for replacements. --- a/gntmenu.h Fri Apr 19 06:32:07 2019 -0400
+++ b/gntmenu.h Fri Apr 19 18:51:55 2019 +0000
@@ -67,6 +67,11 @@
+ * Access to any fields is deprecated. See inline comments for replacements. --- a/gntmenuitem.h Fri Apr 19 06:32:07 2019 -0400
+++ b/gntmenuitem.h Fri Apr 19 18:51:55 2019 +0000
@@ -52,6 +52,11 @@
+ * Access to any fields is deprecated. See inline comments for replacements. /* These will be used to determine the position of the submenu */
@@ -63,6 +68,11 @@
typedef void (*GntMenuItemCallback)(GntMenuItem *item, gpointer data);
+ * Access to any fields is deprecated. See inline comments for replacements. --- a/gntmenuitemcheck.h Fri Apr 19 06:32:07 2019 -0400
+++ b/gntmenuitemcheck.h Fri Apr 19 18:51:55 2019 +0000
@@ -50,6 +50,11 @@
typedef struct _GntMenuItemCheckPriv GntMenuItemCheckPriv;
typedef struct _GntMenuItemCheckClass GntMenuItemCheckClass;
+ * Access to any fields is deprecated. See inline comments for replacements. --- a/gntslider.h Fri Apr 19 06:32:07 2019 -0400
+++ b/gntslider.h Fri Apr 19 18:51:55 2019 +0000
@@ -48,6 +48,11 @@
typedef struct _GntSliderPriv GntSliderPriv;
typedef struct _GntSliderClass GntSliderClass;
+ * Access to any fields is deprecated. See inline comments for replacements. --- a/gnttextview.h Fri Apr 19 06:32:07 2019 -0400
+++ b/gnttextview.h Fri Apr 19 18:51:55 2019 +0000
@@ -56,6 +56,11 @@
GNT_TEXT_VIEW_TOP_ALIGN = 1 << 2,
+ * Access to any fields is deprecated. See inline comments for replacements. --- a/gnttree.h Fri Apr 19 06:32:07 2019 -0400
+++ b/gnttree.h Fri Apr 19 18:51:55 2019 +0000
@@ -56,6 +56,11 @@
GNT_TREE_COLUMN_RIGHT_ALIGNED = 1 << 3,
+ * Access to any fields is deprecated. See inline comments for replacements. --- a/gntwidget.h Fri Apr 19 06:32:07 2019 -0400
+++ b/gntwidget.h Fri Apr 19 18:51:55 2019 +0000
@@ -148,6 +148,11 @@
GNT_PARAM_SERIALIZABLE = 1 << G_PARAM_USER_SHIFT
+ * Access to any fields is deprecated. See inline comments for replacements. int GNTSEAL(x), GNTSEAL(y);
@@ -158,6 +163,11 @@
int GNTSEAL(minw), GNTSEAL(minh); /* Minimum size for the widget */
+ * Access to any fields is deprecated. See inline comments for replacements. --- a/gntwindow.h Fri Apr 19 06:32:07 2019 -0400
+++ b/gntwindow.h Fri Apr 19 18:51:55 2019 +0000
@@ -56,6 +56,11 @@
GNT_WINDOW_MAXIMIZE_Y = 1 << 1,
+ * Access to any fields is deprecated. See inline comments for replacements. --- a/gntwm.h Fri Apr 19 06:32:07 2019 -0400
+++ b/gntwm.h Fri Apr 19 18:51:55 2019 +0000
@@ -91,6 +91,9 @@
* @event_stack: Will be set to %TRUE when a user-event, ie. a mouse-click or a
* key-press is being processed. This variable will be used to
* determine whether to give focus to a new window.
+ * Access to any fields is deprecated. See inline comments for replacements. --- a/gntws.h Fri Apr 19 06:32:07 2019 -0400
+++ b/gntws.h Fri Apr 19 18:51:55 2019 +0000
@@ -42,6 +42,11 @@
typedef struct _GntWS GntWS;
+ * Access to any fields is deprecated. See inline comments for replacements.