GNOME Bugzilla – Bug 773831
undo-file-manager: make the class final and port to G_DECLARE* type declaration
Last modified: 2016-11-02 16:23:08 UTC
See patch.
Created attachment 338951 [details] [review] undo-file-manager: make the class final and port to G_DECLARE* type declaration Changed the old GObject class declarations in order to use smart pointers to generate some functionalities and make the code more readable. The class should not be derivable as its` functionality logics requires it to be final. To fix this use G_DECLARE* type and make the class final instead of derivable.
Review of attachment 338951 [details] [review]: LGTM besides the changes mentioned. ::: src/nautilus-file-undo-manager.c @@ -85,3 @@ { NautilusFileUndoManager *self = user_data; - This empty line should not be deleted. @@ -240,3 @@ { DEBUG ("Setting undo information %p", info); - This empty line should not be deleted.
Created attachment 338952 [details] [review] undo-file-manager: make the class final and port to G_DECLARE* type declaration Changed the old GObject class declarations in order to use smart pointers to generate some functionalities and make the code more readable. The class should not be derivable as its` functionality logics requires it to be final. To fix this use G_DECLARE* type and make the class final instead of derivable.
Created attachment 338954 [details] [review] undo-file-manager: make the class final and port to G_DECLARE* type declaration Changed the old GObject class declarations in order to use smart pointers to generate some functionalities and make the code more readable. The class should not be derivable as its functionality requires it to be final. To fix this use G_DECLARE* type and make the class final instead of derivable.
Review of attachment 338954 [details] [review]: LGTM now, let's wait for Carlos / Ernestas to look at it too.
Review of attachment 338954 [details] [review]: LGTM as well. Thanks!
Attachment 338954 [details] pushed as 21a510a - undo-file-manager: make the class final and port to G_DECLARE* type declaration