Commit 4e9f95ec authored by Umang Jain's avatar Umang Jain
Browse files

source-manager: Use G_DECLARE_FINAL_TYPE

https://bugzilla.gnome.org/show_bug.cgi?id=763712
parent 5b06fdda
...@@ -44,11 +44,6 @@ struct _PhotosSourceManager ...@@ -44,11 +44,6 @@ struct _PhotosSourceManager
GoaClient *client; GoaClient *client;
}; };
struct _PhotosSourceManagerClass
{
PhotosBaseManagerClass parent_class;
};
enum enum
{ {
NOTIFICATION_HIDE, NOTIFICATION_HIDE,
......
...@@ -30,19 +30,7 @@ ...@@ -30,19 +30,7 @@
G_BEGIN_DECLS G_BEGIN_DECLS
#define PHOTOS_TYPE_SOURCE_MANAGER (photos_source_manager_get_type ()) #define PHOTOS_TYPE_SOURCE_MANAGER (photos_source_manager_get_type ())
G_DECLARE_FINAL_TYPE (PhotosSourceManager, photos_source_manager, PHOTOS, SOURCE_MANAGER, PhotosBaseManager);
#define PHOTOS_SOURCE_MANAGER(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
PHOTOS_TYPE_SOURCE_MANAGER, PhotosSourceManager))
#define PHOTOS_IS_SOURCE_MANAGER(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
PHOTOS_TYPE_SOURCE_MANAGER))
typedef struct _PhotosSourceManager PhotosSourceManager;
typedef struct _PhotosSourceManagerClass PhotosSourceManagerClass;
GType photos_source_manager_get_type (void) G_GNUC_CONST;
PhotosBaseManager *photos_source_manager_new (void); PhotosBaseManager *photos_source_manager_new (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