Mark all flag macros as deprecated.
You can't actually use these, but now they'll be in the doc's deprecated
index at least.
--- a/gntcheckbox.h Tue May 14 00:47:29 2019 -0400
+++ b/gntcheckbox.h Tue May 14 01:18:09 2019 -0400
@@ -42,9 +42,26 @@
#define GNT_IS_CHECK_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_CHECK_BOX))
#define GNT_CHECK_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_CHECK_BOX, GntCheckBoxClass))
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_CHECK_BOX_FLAGS(obj) (GNT_CHECK_BOX(obj)->priv.flags)
+ * GNT_CHECK_BOX_SET_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_CHECK_BOX_SET_FLAGS(obj, flags) (GNT_CHECK_BOX_FLAGS(obj) |= flags)
+ * GNT_CHECK_BOX_UNSET_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_CHECK_BOX_UNSET_FLAGS(obj, flags) (GNT_CHECK_BOX_FLAGS(obj) &= ~(flags))
typedef struct _GntCheckBox GntCheckBox;
typedef struct _GntCheckBoxClass GntCheckBoxClass;
--- a/gntcombobox.h Tue May 14 00:47:29 2019 -0400
+++ b/gntcombobox.h Tue May 14 01:18:09 2019 -0400
@@ -41,9 +41,26 @@
#define GNT_IS_COMBO_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_COMBO_BOX))
#define GNT_COMBO_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_COMBO_BOX, GntComboBoxClass))
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_COMBO_BOX_FLAGS(obj) (GNT_COMBO_BOX(obj)->priv.flags)
+ * GNT_COMBO_BOX_SET_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_COMBO_BOX_SET_FLAGS(obj, flags) (GNT_COMBO_BOX_FLAGS(obj) |= flags)
+ * GNT_COMBO_BOX_UNSET_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_COMBO_BOX_UNSET_FLAGS(obj, flags) (GNT_COMBO_BOX_FLAGS(obj) &= ~(flags))
typedef struct _GntComboBox GntComboBox;
typedef struct _GntComboBoxClass GntComboBoxClass;
--- a/gntentry.h Tue May 14 00:47:29 2019 -0400
+++ b/gntentry.h Tue May 14 01:18:09 2019 -0400
@@ -41,9 +41,26 @@
#define GNT_IS_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_ENTRY))
#define GNT_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_ENTRY, GntEntryClass))
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_ENTRY_FLAGS(obj) (GNT_ENTRY(obj)->priv.flags)
+ * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_ENTRY_SET_FLAGS(obj, flags) (GNT_ENTRY_FLAGS(obj) |= flags)
+ * GNT_ENTRY_UNSET_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_ENTRY_UNSET_FLAGS(obj, flags) (GNT_ENTRY_FLAGS(obj) &= ~(flags))
#define ENTRY_CHAR '_' /* The character to use to fill in the blank places */
--- a/gntfilesel.h Tue May 14 00:47:29 2019 -0400
+++ b/gntfilesel.h Tue May 14 01:18:09 2019 -0400
@@ -41,9 +41,26 @@
#define GNT_IS_FILE_SEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_FILE_SEL))
#define GNT_FILE_SEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_FILE_SEL, GntFileSelClass))
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_FILE_SEL_FLAGS(obj) (GNT_FILE_SEL(obj)->priv.flags)
+ * GNT_FILE_SEL_SET_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_FILE_SEL_SET_FLAGS(obj, flags) (GNT_FILE_SEL_FLAGS(obj) |= flags)
+ * GNT_FILE_SEL_UNSET_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_FILE_SEL_UNSET_FLAGS(obj, flags) (GNT_FILE_SEL_FLAGS(obj) &= ~(flags))
typedef struct _GntFileSel GntFileSel;
typedef struct _GntFileSelClass GntFileSelClass;
--- a/gntline.h Tue May 14 00:47:29 2019 -0400
+++ b/gntline.h Tue May 14 01:18:09 2019 -0400
@@ -41,9 +41,26 @@
#define GNT_IS_LINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_LINE))
#define GNT_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_LINE, GntLineClass))
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_LINE_FLAGS(obj) (GNT_LINE(obj)->priv.flags)
+ * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_LINE_SET_FLAGS(obj, flags) (GNT_LINE_FLAGS(obj) |= flags)
+ * GNT_LINE_UNSET_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_LINE_UNSET_FLAGS(obj, flags) (GNT_LINE_FLAGS(obj) &= ~(flags))
typedef struct _GntLine GntLine;
typedef struct _GntLineClass GntLineClass;
--- a/gntmenu.h Tue May 14 00:47:29 2019 -0400
+++ b/gntmenu.h Tue May 14 01:18:09 2019 -0400
@@ -42,9 +42,26 @@
#define GNT_IS_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_MENU))
#define GNT_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_MENU, GntMenuClass))
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_MENU_FLAGS(obj) (GNT_MENU(obj)->priv.flags)
+ * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_MENU_SET_FLAGS(obj, flags) (GNT_MENU_FLAGS(obj) |= flags)
+ * GNT_MENU_UNSET_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_MENU_UNSET_FLAGS(obj, flags) (GNT_MENU_FLAGS(obj) &= ~(flags))
typedef struct _GntMenu GntMenu;
typedef struct _GntMenuClass GntMenuClass;
--- a/gntmenuitem.h Tue May 14 00:47:29 2019 -0400
+++ b/gntmenuitem.h Tue May 14 01:18:09 2019 -0400
@@ -42,9 +42,26 @@
#define GNT_IS_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_MENU_ITEM))
#define GNT_MENU_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_MENU_ITEM, GntMenuItemClass))
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_MENU_ITEM_FLAGS(obj) (GNT_MENU_ITEM(obj)->priv.flags)
+ * GNT_MENU_ITEM_SET_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_MENU_ITEM_SET_FLAGS(obj, flags) (GNT_MENU_ITEM_FLAGS(obj) |= flags)
+ * GNT_MENU_ITEM_UNSET_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_MENU_ITEM_UNSET_FLAGS(obj, flags) (GNT_MENU_ITEM_FLAGS(obj) &= ~(flags))
typedef struct _GntMenuItem GntMenuItem;
typedef struct _GntMenuItemPriv GntMenuItemPriv;
--- a/gntmenuitemcheck.h Tue May 14 00:47:29 2019 -0400
+++ b/gntmenuitemcheck.h Tue May 14 01:18:09 2019 -0400
@@ -42,9 +42,26 @@
#define GNT_IS_MENU_ITEM_CHECK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_MENU_ITEM_CHECK))
#define GNT_MENU_ITEM_CHECK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_MENU_ITEM_CHECK, GntMenuItemCheckClass))
+#ifndef GNT_DISABLE_DEPRECATED + * GNT_MENU_ITEM_CHECK_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_MENU_ITEM_CHECK_FLAGS(obj) (GNT_MENU_ITEM_CHECK(obj)->priv.flags)
+ * GNT_MENU_ITEM_CHECK_SET_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_MENU_ITEM_CHECK_SET_FLAGS(obj, flags) (GNT_MENU_ITEM_CHECK_FLAGS(obj) |= flags)
+ * GNT_MENU_ITEM_CHECK_UNSET_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_MENU_ITEM_CHECK_UNSET_FLAGS(obj, flags) (GNT_MENU_ITEM_CHECK_FLAGS(obj) &= ~(flags))
typedef struct _GntMenuItemCheck GntMenuItemCheck;
typedef struct _GntMenuItemCheckClass GntMenuItemCheckClass;
--- a/gntslider.h Tue May 14 00:47:29 2019 -0400
+++ b/gntslider.h Tue May 14 01:18:09 2019 -0400
@@ -40,9 +40,26 @@
#define GNT_IS_SLIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_SLIDER))
#define GNT_SLIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_SLIDER, GntSliderClass))
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_SLIDER_FLAGS(obj) (GNT_SLIDER(obj)->priv.flags)
+ * GNT_SLIDER_SET_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_SLIDER_SET_FLAGS(obj, flags) (GNT_SLIDER_FLAGS(obj) |= flags)
+ * GNT_SLIDER_UNSET_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_SLIDER_UNSET_FLAGS(obj, flags) (GNT_SLIDER_FLAGS(obj) &= ~(flags))
typedef struct _GntSlider GntSlider;
typedef struct _GntSliderClass GntSliderClass;
--- a/gnttextview.h Tue May 14 00:47:29 2019 -0400
+++ b/gnttextview.h Tue May 14 01:18:09 2019 -0400
@@ -41,9 +41,26 @@
#define GNT_IS_TEXT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_TEXT_VIEW))
#define GNT_TEXT_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_TEXT_VIEW, GntTextViewClass))
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_TEXT_VIEW_FLAGS(obj) (GNT_TEXT_VIEW(obj)->priv.flags)
+ * GNT_TEXT_VIEW_SET_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_TEXT_VIEW_SET_FLAGS(obj, flags) (GNT_TEXT_VIEW_FLAGS(obj) |= flags)
+ * GNT_TEXT_VIEW_UNSET_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_TEXT_VIEW_UNSET_FLAGS(obj, flags) (GNT_TEXT_VIEW_FLAGS(obj) &= ~(flags))
typedef struct _GntTextView GntTextView;
typedef struct _GntTextViewClass GntTextViewClass;
--- a/gntwindow.h Tue May 14 00:47:29 2019 -0400
+++ b/gntwindow.h Tue May 14 01:18:09 2019 -0400
@@ -42,9 +42,26 @@
#define GNT_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_WINDOW))
#define GNT_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_WINDOW, GntWindowClass))
+#ifndef GNT_DISABLE_DEPRECATED + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_WINDOW_FLAGS(obj) (GNT_WINDOW(obj)->priv.flags)
+ * GNT_WINDOW_SET_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_WINDOW_SET_FLAGS(obj, flags) (GNT_WINDOW_FLAGS(obj) |= flags)
+ * GNT_WINDOW_UNSET_FLAGS: + * Deprecated: 2.14.0: This is an internal implementation detail. #define GNT_WINDOW_UNSET_FLAGS(obj, flags) (GNT_WINDOW_FLAGS(obj) &= ~(flags))
typedef struct _GntWindow GntWindow;
typedef struct _GntWindowClass GntWindowClass;