Commit 568761aa authored by Umang Jain's avatar Umang Jain Committed by Debarshi Ray
Browse files

search-match-manager: Use G_DECLARE_FINAL_TYPE

https://bugzilla.gnome.org/show_bug.cgi?id=763712
parent 8cafb6ac
......@@ -41,11 +41,6 @@ struct _PhotosSearchMatchManager
PhotosSearchController *srch_cntrlr;
};
struct _PhotosSearchMatchManagerClass
{
PhotosBaseManagerClass parent_class;
};
enum
{
PROP_0,
......
......@@ -31,19 +31,11 @@
G_BEGIN_DECLS
#define PHOTOS_TYPE_SEARCH_MATCH_MANAGER (photos_search_match_manager_get_type ())
#define PHOTOS_SEARCH_MATCH_MANAGER(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
PHOTOS_TYPE_SEARCH_MATCH_MANAGER, PhotosSearchMatchManager))
#define PHOTOS_IS_SEARCH_MATCH_MANAGER(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
PHOTOS_TYPE_SEARCH_MATCH_MANAGER))
typedef struct _PhotosSearchMatchManager PhotosSearchMatchManager;
typedef struct _PhotosSearchMatchManagerClass PhotosSearchMatchManagerClass;
GType photos_search_match_manager_get_type (void) G_GNUC_CONST;
G_DECLARE_FINAL_TYPE (PhotosSearchMatchManager,
photos_search_match_manager,
PHOTOS,
SEARCH_MATCH_MANAGER,
PhotosBaseManager);
PhotosBaseManager *photos_search_match_manager_new (PhotosSearchController *srch_cntrlr);
......
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