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
..
2022-11-09 12:07:31 +00:00
2022-07-23 11:35:08 +00:00
2022-06-01 12:44:23 +01:00
2022-10-18 15:12:31 +01:00
2022-10-13 20:53:56 -04:00
2022-01-28 16:01:22 -08:00
2022-10-13 20:53:56 -04:00
2022-10-14 16:40:56 +01:00
2022-10-13 20:53:56 -04:00
2022-10-26 18:07:55 +01:00
2022-10-13 20:53:56 -04:00
2022-06-01 12:44:23 +01:00
2022-10-13 20:53:56 -04:00
2021-07-29 10:09:27 -04:00
2022-10-13 20:53:56 -04:00
2022-10-26 18:07:55 +01:00
2022-11-01 15:46:13 +01:00
2022-10-14 16:40:56 +01:00
2022-10-26 18:07:55 +01:00
2022-10-13 20:53:56 -04:00
2020-11-17 15:50:07 +00:00
2012-10-15 19:48:44 -04:00
2022-06-01 12:44:23 +01:00
2022-06-01 12:44:23 +01:00
2022-07-05 11:06:49 +00:00
2022-09-21 10:27:55 +01:00
2022-10-13 20:53:56 -04:00
2018-01-04 22:19:30 +01:00
2016-11-23 10:50:39 +00:00
2022-08-09 13:18:47 -05:00
2022-09-19 14:35:12 +00:00
2022-10-13 20:53:56 -04:00
2022-09-25 14:20:24 +01:00
2022-10-13 20:53:56 -04:00
2022-09-19 14:35:12 +00:00
2022-10-13 20:53:56 -04:00
2022-05-17 17:34:06 +02:00
2022-10-13 20:53:56 -04:00
2022-06-01 12:44:23 +01:00
2022-10-13 20:53:56 -04:00
2022-07-05 11:06:49 +00:00
2022-11-09 12:07:31 +00:00
2022-11-09 12:07:31 +00:00
2022-08-09 13:18:47 -05:00
2022-10-13 20:53:56 -04:00
2022-06-01 12:44:23 +01:00
2022-10-13 20:53:56 -04:00
2022-08-09 13:18:47 -05:00
2022-10-13 20:53:56 -04:00
2022-06-01 12:44:23 +01:00
2022-10-13 20:53:56 -04:00
2022-06-01 12:44:23 +01:00
2022-06-01 12:44:23 +01:00
2022-10-24 10:47:35 +01:00
2022-10-13 20:53:56 -04:00
2016-05-23 10:52:10 -04:00
2022-11-01 01:56:27 +01:00