Re-add G_PARAM_PRIVATE as a deprecated name for bit 5, since some language
authorMatthias Clasen <mclasen@redhat.com>
Mon, 13 Jun 2005 18:08:05 +0000 (18:08 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 13 Jun 2005 18:08:05 +0000 (18:08 +0000)
2005-06-13  Matthias Clasen  <mclasen@redhat.com>

* gparam.h (GParamFlags): Re-add G_PARAM_PRIVATE as a
deprecated name for bit 5, since some language bindings
have it bound.

gobject/ChangeLog
gobject/gparam.h

index e658de2..0da3493 100644 (file)
@@ -1,3 +1,9 @@
+2005-06-13  Matthias Clasen  <mclasen@redhat.com>
+
+       * gparam.h (GParamFlags): Re-add G_PARAM_PRIVATE as a 
+       deprecated name for bit 5, since some language bindings
+       have it bound.
+
 2005-06-10  Matthias Clasen  <mclasen@redhat.com>
 
        * === Released 2.7.0 ===
index f651c6c..349a635 100644 (file)
@@ -55,7 +55,10 @@ typedef enum
   G_PARAM_LAX_VALIDATION      = 1 << 4,
   G_PARAM_STATIC_NAME        = 1 << 5,
   G_PARAM_STATIC_NICK        = 1 << 6,
-  G_PARAM_STATIC_BLURB       = 1 << 7
+  G_PARAM_STATIC_BLURB       = 1 << 7,
+#ifndef G_DISABLE_DEPRECATED
+  G_PARAM_PRIVATE            = G_PARAM_STATIC_NAME
+#endif
 } GParamFlags;
 #define        G_PARAM_READWRITE       (G_PARAM_READABLE | G_PARAM_WRITABLE)
 #define        G_PARAM_MASK            (0x000000ff)