Deprecate all *Priv structs.
--- a/gnt-skel.h Mon May 13 16:01:04 2019 +0000
+++ b/gnt-skel.h Tue May 14 00:26:21 2019 -0400
@@ -42,8 +42,15 @@
#define GNT_SKEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_SKEL, GntSkelClass))
typedef struct _GntSkel GntSkel;
-typedef struct _GntSkelPriv GntSkelPriv;
typedef struct _GntSkelClass GntSkelClass;
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. +typedef struct _GntSkelPriv GntSkelPriv; --- a/gntbutton.h Mon May 13 16:01:04 2019 +0000
+++ b/gntbutton.h Tue May 14 00:26:21 2019 -0400
@@ -43,12 +43,19 @@
#define GNT_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_BUTTON, GntButtonClass))
typedef struct _GntButton GntButton;
-typedef struct _GntButtonPriv GntButtonPriv;
typedef struct _GntButtonClass GntButtonClass;
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. +typedef struct _GntButtonPriv GntButtonPriv;
--- a/gntcheckbox.h Mon May 13 16:01:04 2019 +0000
+++ b/gntcheckbox.h Tue May 14 00:26:21 2019 -0400
@@ -47,8 +47,15 @@
#define GNT_CHECK_BOX_UNSET_FLAGS(obj, flags) (GNT_CHECK_BOX_FLAGS(obj) &= ~(flags))
typedef struct _GntCheckBox GntCheckBox;
-typedef struct _GntCheckBoxPriv GntCheckBoxPriv;
typedef struct _GntCheckBoxClass GntCheckBoxClass;
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. +typedef struct _GntCheckBoxPriv GntCheckBoxPriv; --- a/gntcombobox.h Mon May 13 16:01:04 2019 +0000
+++ b/gntcombobox.h Tue May 14 00:26:21 2019 -0400
@@ -46,8 +46,15 @@
#define GNT_COMBO_BOX_UNSET_FLAGS(obj, flags) (GNT_COMBO_BOX_FLAGS(obj) &= ~(flags))
typedef struct _GntComboBox GntComboBox;
-typedef struct _GntComboBoxPriv GntComboBoxPriv;
typedef struct _GntComboBoxClass GntComboBoxClass;
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. +typedef struct _GntComboBoxPriv GntComboBoxPriv; --- a/gntentry.h Mon May 13 16:01:04 2019 +0000
+++ b/gntentry.h Tue May 14 00:26:21 2019 -0400
@@ -48,10 +48,17 @@
#define ENTRY_CHAR '_' /* The character to use to fill in the blank places */
typedef struct _GntEntry GntEntry;
-typedef struct _GntEntryPriv GntEntryPriv;
typedef struct _GntEntryClass GntEntryClass;
typedef struct _GntEntryKillRing GntEntryKillRing;
typedef struct _GntEntrySearch GntEntrySearch;
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. +typedef struct _GntEntryPriv GntEntryPriv; --- a/gntfilesel.h Mon May 13 16:01:04 2019 +0000
+++ b/gntfilesel.h Tue May 14 00:26:21 2019 -0400
@@ -46,9 +46,16 @@
#define GNT_FILE_SEL_UNSET_FLAGS(obj, flags) (GNT_FILE_SEL_FLAGS(obj) &= ~(flags))
typedef struct _GntFileSel GntFileSel;
-typedef struct _GntFileSelPriv GntFileSelPriv;
typedef struct _GntFileSelClass GntFileSelClass;
typedef struct _GntFile GntFile;
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. +typedef struct _GntFileSelPriv GntFileSelPriv; --- a/gntline.h Mon May 13 16:01:04 2019 +0000
+++ b/gntline.h Tue May 14 00:26:21 2019 -0400
@@ -46,8 +46,15 @@
#define GNT_LINE_UNSET_FLAGS(obj, flags) (GNT_LINE_FLAGS(obj) &= ~(flags))
typedef struct _GntLine GntLine;
-typedef struct _GntLinePriv GntLinePriv;
typedef struct _GntLineClass GntLineClass;
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. +typedef struct _GntLinePriv GntLinePriv; --- a/gntmenu.h Mon May 13 16:01:04 2019 +0000
+++ b/gntmenu.h Tue May 14 00:26:21 2019 -0400
@@ -47,8 +47,15 @@
#define GNT_MENU_UNSET_FLAGS(obj, flags) (GNT_MENU_FLAGS(obj) &= ~(flags))
typedef struct _GntMenu GntMenu;
-typedef struct _GntMenuPriv GntMenuPriv;
typedef struct _GntMenuClass GntMenuClass;
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. +typedef struct _GntMenuPriv GntMenuPriv; --- a/gntmenuitem.h Mon May 13 16:01:04 2019 +0000
+++ b/gntmenuitem.h Tue May 14 00:26:21 2019 -0400
@@ -52,19 +52,22 @@
+#ifndef GNT_DISABLE_DEPRECATED - * Access to any fields is deprecated. See inline comments for replacements.
+ * Deprecated: 2.14.0: This is an internal implementation detail. See inline + * comments for replacements. /* These will be used to determine the position of the submenu */
+ char GNTSEAL(trigger); /* Use gnt_menuitem_get_trigger(). */ + char *GNTSEAL(id); /* Use gnt_menuitem_get_id(). */ typedef void (*GntMenuItemCallback)(GntMenuItem *item, gpointer data);
--- a/gntmenuitemcheck.h Mon May 13 16:01:04 2019 +0000
+++ b/gntmenuitemcheck.h Tue May 14 00:26:21 2019 -0400
@@ -47,8 +47,15 @@
#define GNT_MENU_ITEM_CHECK_UNSET_FLAGS(obj, flags) (GNT_MENU_ITEM_CHECK_FLAGS(obj) &= ~(flags))
typedef struct _GntMenuItemCheck GntMenuItemCheck;
-typedef struct _GntMenuItemCheckPriv GntMenuItemCheckPriv;
typedef struct _GntMenuItemCheckClass GntMenuItemCheckClass;
+#ifndef GNT_DISABLE_DEPRECATED + * GntMenuItemCheckPriv: + * Deprecated: 2.14.0: This is an internal implementation detail. +typedef struct _GntMenuItemCheckPriv GntMenuItemCheckPriv; --- a/gntslider.h Mon May 13 16:01:04 2019 +0000
+++ b/gntslider.h Tue May 14 00:26:21 2019 -0400
@@ -45,8 +45,15 @@
#define GNT_SLIDER_UNSET_FLAGS(obj, flags) (GNT_SLIDER_FLAGS(obj) &= ~(flags))
typedef struct _GntSlider GntSlider;
-typedef struct _GntSliderPriv GntSliderPriv;
typedef struct _GntSliderClass GntSliderClass;
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. +typedef struct _GntSliderPriv GntSliderPriv; --- a/gnttextview.h Mon May 13 16:01:04 2019 +0000
+++ b/gnttextview.h Tue May 14 00:26:21 2019 -0400
@@ -46,8 +46,15 @@
#define GNT_TEXT_VIEW_UNSET_FLAGS(obj, flags) (GNT_TEXT_VIEW_FLAGS(obj) &= ~(flags))
typedef struct _GntTextView GntTextView;
-typedef struct _GntTextViewPriv GntTextViewPriv;
typedef struct _GntTextViewClass GntTextViewClass;
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. +typedef struct _GntTextViewPriv GntTextViewPriv; --- a/gnttree.h Mon May 13 16:01:04 2019 +0000
+++ b/gnttree.h Tue May 14 00:26:21 2019 -0400
@@ -43,8 +43,15 @@
#define GNT_TREE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_TREE, GntTreeClass))
typedef struct _GntTree GntTree;
-typedef struct _GntTreePriv GntTreePriv;
typedef struct _GntTreeClass GntTreeClass;
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. +typedef struct _GntTreePriv GntTreePriv; typedef struct _GntTreeRow GntTreeRow;
typedef struct _GntTreeCol GntTreeCol;
--- a/gntwindow.h Mon May 13 16:01:04 2019 +0000
+++ b/gntwindow.h Tue May 14 00:26:21 2019 -0400
@@ -47,8 +47,15 @@
#define GNT_WINDOW_UNSET_FLAGS(obj, flags) (GNT_WINDOW_FLAGS(obj) &= ~(flags))
typedef struct _GntWindow GntWindow;
-typedef struct _GntWindowPriv GntWindowPriv;
typedef struct _GntWindowClass GntWindowClass;
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. +typedef struct _GntWindowPriv GntWindowPriv;