Commit 45f24c6a authored by Umang Jain's avatar Umang Jain
Browse files

remote-display-manager: Use G_DECLARE_FINAL_TYPE

https://bugzilla.gnome.org/show_bug.cgi?id=763712
parent 84a53675
......@@ -35,11 +35,6 @@ struct _PhotosRemoteDisplayManager
PhotosDlnaRenderer *renderer;
};
struct _PhotosRemoteDisplayManagerClass
{
GObjectClass parent_class;
};
enum
{
SHARE_BEGAN,
......
......@@ -29,19 +29,11 @@
G_BEGIN_DECLS
#define PHOTOS_TYPE_REMOTE_DISPLAY_MANAGER (photos_remote_display_manager_get_type ())
#define PHOTOS_REMOTE_DISPLAY_MANAGER(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
PHOTOS_TYPE_REMOTE_DISPLAY_MANAGER, PhotosRemoteDisplayManager))
#define PHOTOS_IS_REMOTE_DISPLAY_MANAGER(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
PHOTOS_TYPE_REMOTE_DISPLAY_MANAGER))
typedef struct _PhotosRemoteDisplayManager PhotosRemoteDisplayManager;
typedef struct _PhotosRemoteDisplayManagerClass PhotosRemoteDisplayManagerClass;
GType photos_remote_display_manager_get_type (void) G_GNUC_CONST;
G_DECLARE_FINAL_TYPE (PhotosRemoteDisplayManager,
photos_remote_display_manager,
PHOTOS,
REMOTE_DISPLAY_MANAGER,
GObject);
PhotosRemoteDisplayManager *photos_remote_display_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