Commit 28f33ece authored by Umang Jain's avatar Umang Jain Committed by Debarshi Ray
Browse files

tracker-collections-controller: Use G_DECLARE_FINAL_TYPE

https://bugzilla.gnome.org/show_bug.cgi?id=763712
parent 3ea02d25
......@@ -39,11 +39,6 @@ struct _PhotosTrackerCollectionsController
PhotosOffsetController *offset_cntrlr;
};
struct _PhotosTrackerCollectionsControllerClass
{
PhotosTrackerControllerClass parent_class;
};
G_DEFINE_TYPE_WITH_CODE (PhotosTrackerCollectionsController,
photos_tracker_collections_controller,
......
......@@ -26,19 +26,11 @@
G_BEGIN_DECLS
#define PHOTOS_TYPE_TRACKER_COLLECTIONS_CONTROLLER (photos_tracker_collections_controller_get_type ())
#define PHOTOS_TRACKER_COLLECTIONS_CONTROLLER(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
PHOTOS_TYPE_TRACKER_COLLECTIONS_CONTROLLER, PhotosTrackerCollectionsController))
#define PHOTOS_IS_TRACKER_COLLECTIONS_CONTROLLER(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
PHOTOS_TYPE_TRACKER_COLLECTIONS_CONTROLLER))
typedef struct _PhotosTrackerCollectionsController PhotosTrackerCollectionsController;
typedef struct _PhotosTrackerCollectionsControllerClass PhotosTrackerCollectionsControllerClass;
GType photos_tracker_collections_controller_get_type (void) G_GNUC_CONST;
G_DECLARE_FINAL_TYPE (PhotosTrackerCollectionsController,
photos_tracker_collections_controller,
PHOTOS,
TRACKER_COLLECTIONS_CONTROLLER,
PhotosTrackerController);
PhotosTrackerController *photos_tracker_collections_controller_dup_singleton (void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment