qulogic/libgnt

Merged in release-2.x.y (pull request #33)
release-2.x.y
2019-04-19, Gary Kramlich
d0d608c907a2
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 @@
GNT_ALIGN_BOTTOM
} GntAlignment;
+/**
+ * GntBox:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntBox
{
GntWidget parent;
--- 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 @@
char *text;
};
+/**
+ * GntButton:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntButton
{
GntWidget parent;
--- 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;
+/**
+ * GntCheckBox:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntCheckBox
{
GntButton parent;
--- 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;
+/**
+ * GntClipboard:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntClipboard
{
GObject inherit;
--- 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;
+/**
+ * GntComboBox:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntComboBox
{
GntWidget parent;
--- 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)
+/**
+ * GntEntry:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntEntry
{
GntWidget parent;
--- 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;
+/**
+ * GntFileSel:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntFileSel
{
GntWindow parent;
--- 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;
+/**
+ * GntLabel:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntLabel
{
GntWidget parent;
--- 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;
+/**
+ * GntLine:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntLine
{
GntWidget parent;
--- 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 @@
GNT_MENU_POPUP,
} GntMenuType;
+/**
+ * GntMenu:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntMenu
{
GntTree parent;
--- 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 @@
#include "gntmenu.h"
+/**
+ * GntMenuItemPriv:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntMenuItemPriv
{
/* These will be used to determine the position of the submenu */
@@ -63,6 +68,11 @@
typedef void (*GntMenuItemCallback)(GntMenuItem *item, gpointer data);
+/**
+ * GntMenuItem:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntMenuItem
{
GObject parent;
--- 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;
+/**
+ * GntMenuItemCheck:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntMenuItemCheck
{
GntMenuItem parent;
--- 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;
+/**
+ * GntSlider:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntSlider
{
GntWidget parent;
--- 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,
} GntTextViewFlag;
+/**
+ * GntTextView:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntTextView
{
GntWidget parent;
--- 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,
} GntTreeColumnFlag;
+/**
+ * GntTree:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntTree
{
GntWidget parent;
--- 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
} GntParamFlags;
+/**
+ * GntWidgetPriv:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntWidgetPriv
{
int GNTSEAL(x), GNTSEAL(y);
@@ -158,6 +163,11 @@
int GNTSEAL(minw), GNTSEAL(minh); /* Minimum size for the widget */
};
+/**
+ * GntWidget:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntWidget
{
GntBindable inherit;
--- 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,
} GntWindowFlags;
+/**
+ * GntWindow:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntWindow
{
GntBox parent;
--- 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.
+ *
*/
struct _GntWM
{
--- 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;
+/**
+ * GntWS:
+ *
+ * Access to any fields is deprecated. See inline comments for replacements.
+ */
struct _GntWS
{
GntBindable inherit;