Commit bd46de18 authored by Umang Jain's avatar Umang Jain
Browse files

share-point-manager: Use G_DECLARE_FINAL_TYPE

https://bugzilla.gnome.org/show_bug.cgi?id=763712
parent 3c5249ab
......@@ -45,11 +45,6 @@ struct _PhotosSharePointManager
PhotosBaseManager *src_mngr;
};
struct _PhotosSharePointManagerClass
{
PhotosBaseManagerClass parent_class;
};
G_DEFINE_TYPE (PhotosSharePointManager, photos_share_point_manager, PHOTOS_TYPE_BASE_MANAGER);
......
......@@ -31,19 +31,7 @@
G_BEGIN_DECLS
#define PHOTOS_TYPE_SHARE_POINT_MANAGER (photos_share_point_manager_get_type ())
#define PHOTOS_SHARE_POINT_MANAGER(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
PHOTOS_TYPE_SHARE_POINT_MANAGER, PhotosSharePointManager))
#define PHOTOS_IS_SHARE_POINT_MANAGER(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
PHOTOS_TYPE_SHARE_POINT_MANAGER))
typedef struct _PhotosSharePointManager PhotosSharePointManager;
typedef struct _PhotosSharePointManagerClass PhotosSharePointManagerClass;
GType photos_share_point_manager_get_type (void) G_GNUC_CONST;
G_DECLARE_FINAL_TYPE (PhotosSharePointManager, photos_share_point_manager, PHOTOS, SHARE_POINT_MANAGER, PhotosBaseManager);
PhotosBaseManager *photos_share_point_manager_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