glib/docs/reference/gobject
Matthias Clasen fd0dd9e93c gobject: Add G_TYPE_FLAG_DEPRECATED
This can be used to mark entire types as deprecated,
and trigger a warning when they are instantiated
and `G_ENABLE_DIAGNOSTIC=1` is set in the environment.

There's currently no convenient macros for defining
types with the new flag, but you can do:

```c
_G_DEFINE_TYPE_EXTENDED_BEGIN (GtkAppChooserWidget,
                               gtk_app_chooser_widget,
                               GTK_TYPE_WIDGET,
                               G_TYPE_FLAG_DEPRECATED)
...
_G_DEFINE_TYPE_EXTENDED_END ()
```

Includes a unit test by Philip Withnall.
2022-11-09 12:07:31 +00:00
..
images add missing image 2005-04-22 18:34:41 +00:00
xml docs: Change Bugzilla references to GitLab 2018-06-15 13:04:39 +01:00
glib-genmarshal.xml docs: Document generated headers caveats for genmarshal 2020-02-25 03:14:50 +05:30
glib-mkenums.xml docs: Mention alternatives for defining enumeration types 2022-06-30 01:46:54 +01:00
gobject-docs.xml docs: Add 2.76 release series documentation pages to the build 2022-10-14 16:03:29 +01:00
gobject-overrides.txt Improve separation of generic non-generic parts and dependencies. 2000-09-06 15:01:07 +00:00
gobject-query.xml docs: Improve man page consistency 2012-08-03 23:36:45 -04:00
gobject-sections.txt gobject: Add G_TYPE_FLAG_DEPRECATED 2022-11-09 12:07:31 +00:00
meson.build Fix symbol visibility macros on Windows 2022-10-13 20:53:56 -04:00
tut_gobject.xml docs: Use G_PARAM_STATIC_STRINGS in examples and explain it more 2022-05-20 12:57:36 +01:00
tut_gsignal.xml Make clear in doc that signals are emitted synchroniously 2022-01-18 08:53:20 +00:00
tut_gtype.xml gobject: Drop use of volatile from get_type() macros 2020-11-20 14:40:19 +00:00
tut_howto.xml docs: Use G_PARAM_STATIC_STRINGS in examples and explain it more 2022-05-20 12:57:36 +01:00
tut_intro.xml docs: General cleanups and rewording in the GObject concepts docs 2015-08-21 15:15:53 +01:00
tut_tools.xml general: Remove a few unhelpful references to ‘master’ 2019-04-25 09:25:49 +01:00
version.xml.in Add version info to API docs. 2002-11-23 01:37:17 +00:00