Fix more brokenness with GNT_DISABLE_DEPRECATED.
Public names may be hidden, but we may still need something to use
later, even if the later field is hidden. Use the private name instead
for these hidden fields.
--- a/gntbindable.h Fri May 24 00:09:15 2019 -0400
+++ b/gntbindable.h Mon Jun 03 01:57:51 2019 -0400
@@ -108,7 +108,7 @@
struct _GntBindableActionParam
- GntBindableAction *action;
+ struct _GntBindableAction *action; --- a/gntbutton.h Fri May 24 00:09:15 2019 -0400
+++ b/gntbutton.h Mon Jun 03 01:57:51 2019 -0400
@@ -67,7 +67,7 @@
- GntButtonPriv *GNTSEAL(priv);
+ struct _GntButtonPriv *GNTSEAL(priv); void (*gnt_reserved1)(void);
--- a/gntentry.h Fri May 24 00:09:15 2019 -0400
+++ b/gntentry.h Mon Jun 03 01:57:51 2019 -0400
@@ -127,8 +127,8 @@
gboolean GNTSEAL(word); /* Are the suggestions for only a word, or for the whole thing? */
gboolean GNTSEAL(always); /* Should the list of suggestions show at all times, or only on tab-press? */
GntWidget *GNTSEAL(ddown); /* The dropdown with the suggested list */
- GntEntryKillRing *GNTSEAL(killring); /* Since: 2.3.0 */
- GntEntrySearch *GNTSEAL(search); /* Since: 2.7.0 */
+ struct _GntEntryKillRing *GNTSEAL(killring); /* Since: 2.3.0 */ + struct _GntEntrySearch *GNTSEAL(search); /* Since: 2.7.0 */ --- a/gntfilesel.h Fri May 24 00:09:15 2019 -0400
+++ b/gntfilesel.h Mon Jun 03 01:57:51 2019 -0400
@@ -144,16 +144,12 @@
-#ifndef GNT_DISABLE_DEPRECATED
* gnt_file_sel_get_gtype:
* Returns: GType for GntFileSel.
- * Deprecated: 2.14.0: This is an internal implementation detail.
GType gnt_file_sel_get_gtype(void);
--- a/gntmenuitem.h Fri May 24 00:09:15 2019 -0400
+++ b/gntmenuitem.h Mon Jun 03 01:57:51 2019 -0400
@@ -64,12 +64,13 @@
typedef struct _GntMenuItem GntMenuItem;
+#ifndef GNT_DISABLE_DEPRECATED typedef struct _GntMenuItemPriv GntMenuItemPriv;
typedef struct _GntMenuItemClass GntMenuItemClass;
-#ifndef GNT_DISABLE_DEPRECATED
@@ -84,7 +85,6 @@
char GNTSEAL(trigger); /* Use gnt_menuitem_get_trigger(). */
char *GNTSEAL(id); /* Use gnt_menuitem_get_id(). */
typedef void (*GntMenuItemCallback)(GntMenuItem *item, gpointer data);
@@ -96,7 +96,7 @@
- GntMenuItemPriv GNTSEAL(priv);
+ struct _GntMenuItemPriv GNTSEAL(priv); --- a/gnttree.h Fri May 24 00:09:15 2019 -0400
+++ b/gnttree.h Mon Jun 03 01:57:51 2019 -0400
@@ -73,6 +73,10 @@
GNT_TREE_COLUMN_BINARY_DATA = 1 << 2,
GNT_TREE_COLUMN_RIGHT_ALIGNED = 1 << 3,
+ GNT_TREE_COLUMN_SEALED__DO_NOT_USE @@ -109,7 +113,7 @@
gboolean GNTSEAL(show_title);
gboolean GNTSEAL(show_separator); /* Whether to show column separators */
- GntTreePriv *GNTSEAL(priv);
+ struct _GntTreePriv *GNTSEAL(priv); --- a/gntwidget.h Fri May 24 00:09:15 2019 -0400
+++ b/gntwidget.h Mon Jun 03 01:57:51 2019 -0400
@@ -74,7 +74,9 @@
typedef struct _GntWidget GntWidget;
+#ifndef GNT_DISABLE_DEPRECATED typedef struct _GntWidgetPriv GntWidgetPriv;
typedef struct _GntWidgetClass GntWidgetClass;
@@ -179,7 +181,7 @@
GntWidget *GNTSEAL(parent); /* Deprecated. Use gnt_widget_get_parent. */
- GntWidgetPriv GNTSEAL(priv);
+ struct _GntWidgetPriv GNTSEAL(priv); --- a/gntwindow.h Fri May 24 00:09:15 2019 -0400
+++ b/gntwindow.h Mon Jun 03 01:57:51 2019 -0400
@@ -89,7 +89,7 @@
- GntWindowPriv *GNTSEAL(priv);
+ struct _GntWindowPriv *GNTSEAL(priv); --- a/gntwm.h Fri May 24 00:09:15 2019 -0400
+++ b/gntwm.h Mon Jun 03 01:57:51 2019 -0400
@@ -57,6 +57,10 @@
GNT_KP_MODE_WAIT_ON_CHILD
+ GNT_KP_MODE_SEALED__DO_NOT_USE