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

set-collection-job: Use G_DECLARE_FINAL_TYPE

https://bugzilla.gnome.org/show_bug.cgi?id=763712
parent 9a51da80
......@@ -50,11 +50,6 @@ struct _PhotosSetCollectionJob
gpointer user_data;
};
struct _PhotosSetCollectionJobClass
{
GObjectClass parent_class;
};
enum
{
PROP_0,
......
......@@ -30,22 +30,10 @@
G_BEGIN_DECLS
#define PHOTOS_TYPE_SET_COLLECTION_JOB (photos_set_collection_job_get_type ())
#define PHOTOS_SET_COLLECTION_JOB(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
PHOTOS_TYPE_SET_COLLECTION_JOB, PhotosSetCollectionJob))
#define PHOTOS_IS_SET_COLLECTION_JOB(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
PHOTOS_TYPE_SET_COLLECTION_JOB))
G_DECLARE_FINAL_TYPE (PhotosSetCollectionJob, photos_set_collection_job, PHOTOS, SET_COLLECTION_JOB, GObject);
typedef void (*PhotosSetCollectionJobCallback) (gpointer);
typedef struct _PhotosSetCollectionJob PhotosSetCollectionJob;
typedef struct _PhotosSetCollectionJobClass PhotosSetCollectionJobClass;
GType photos_set_collection_job_get_type (void) G_GNUC_CONST;
PhotosSetCollectionJob *photos_set_collection_job_new (const gchar *collection_urn, gboolean setting);
void photos_set_collection_job_run (PhotosSetCollectionJob *self,
......
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