GNOME Bugzilla – Bug 771837
bookmark: port to G_DECLARE* type declaration
Last modified: 2016-10-07 13:00:13 UTC
See bug 771777. This is pretty straightforward, there is not a whole lot of code.
Created attachment 337109 [details] [review] bookmark: port to G_DECLARE* type declarations Currently we are using the old GObject class declarations, which have two problems. One problem is that we cannot use smart pointers like g_autoptr. The other problem is the boilerplate code generated that makes the code less readable, so harder to understand. To fix this use G_DECLARE* type.
Created attachment 337112 [details] [review] bookmark: port to G_DECLARE* type declarations Currently we are using the old GObject class declarations, which have two problems. One problem is that we cannot use smart pointers like g_autoptr. The other problem is the boilerplate code generated that makes the code less readable, so harder to understand. To fix this use G_DECLARE* type.
Review of attachment 337112 [details] [review]: LGTM
Review of attachment 337112 [details] [review]: Thanks Lavinia!
Attachment 337112 [details] pushed as 0b617a3 - bookmark: port to G_DECLARE* type declarations