GNOME Bugzilla – Bug 732449
Support deprecating properties
Last modified: 2016-10-18 18:10:31 UTC
Created attachment 279562 [details] [review] Support deprecating properties and their accessors Since glib 2.26 it is possible to pass the G_PARAM_DEPRECATED flag at property creation. I made a patch to support this using the [Deprecated] attribute. In addition, accessor methods of deprecated properties are also marked as such.
Created attachment 337559 [details] [review] codegen: Support deprecating properties and their accessors Use G_PARAM_DEPRECATED for properties and in addition their accessor methods will be marked as deprecated. Guard internal accessors calls with G_GNUC_BEGIN/END_IGNORED_DEPRECATIONS to silence unavoidable warnings. Based on patch by Simon Werbeck <simon.werbeck@gmail.com>
Attachment 337559 [details] pushed as ad87c4e - codegen: Support deprecating properties and their accessors
This seems to be missing a newline after G_GNUC_BEGIN_IGNORE_DEPRECATIONS in generated code. Fix in bug #773129.