After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 616375 - [annotation] Skip for GObject properties
[annotation] Skip for GObject properties
Status: RESOLVED OBSOLETE
Product: gobject-introspection
Classification: Platform
Component: g-ir-scanner
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2010-04-21 08:22 UTC by Danielle Madeley
Modified: 2018-01-25 15:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Danielle Madeley 2010-04-21 08:22:16 UTC
We want to remove all exposure of DBusGLib types in our introspected API (don't want to depend on the unshipped DBusGLib-1.0.gir). Thus we need to (skip) a property that we don't want to expose.

  /**
   * TpProxy:dbus-connection: (skip)
   *
   * The D-Bus connection for this object. Read-only except during
   * construction.
   */
  param_spec = g_param_spec_boxed ("dbus-connection", "D-Bus connection",
      "The D-Bus connection used by this object", DBUS_TYPE_G_CONNECTION,
      G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE |
      G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NICK);
  g_object_class_install_property (object_class, PROP_DBUS_CONNECTION,
      param_spec);

Unfortunately this still ends up in the introspected output.
Comment 1 André Klapper 2015-02-07 17:15:36 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]
Comment 2 Emmanuele Bassi (:ebassi) 2018-01-25 15:50:15 UTC
It's possible to annotate a property with (skip), these days.