Commit 96a2869f authored by Umang Jain's avatar Umang Jain Committed by Debarshi Ray
Browse files

single-item-job: Use G_DECLARE_FINAL_TYPE

https://bugzilla.gnome.org/show_bug.cgi?id=763712
parent 16aed5fe
......@@ -41,11 +41,6 @@ struct _PhotosSingleItemJob
gchar *urn;
};
struct _PhotosSingleItemJobClass
{
GObjectClass parent_class;
};
enum
{
PROP_0,
......
......@@ -33,22 +33,10 @@
G_BEGIN_DECLS
#define PHOTOS_TYPE_SINGLE_ITEM_JOB (photos_single_item_job_get_type ())
#define PHOTOS_SINGLE_ITEM_JOB(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
PHOTOS_TYPE_SINGLE_ITEM_JOB, PhotosSingleItemJob))
#define PHOTOS_IS_SINGLE_ITEM_JOB(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
PHOTOS_TYPE_SINGLE_ITEM_JOB))
G_DECLARE_FINAL_TYPE (PhotosSingleItemJob, photos_single_item_job, PHOTOS, SINGLE_ITEM_JOB, GObject);
typedef void (*PhotosSingleItemJobCallback) (TrackerSparqlCursor *, gpointer);
typedef struct _PhotosSingleItemJob PhotosSingleItemJob;
typedef struct _PhotosSingleItemJobClass PhotosSingleItemJobClass;
GType photos_single_item_job_get_type (void) G_GNUC_CONST;
PhotosSingleItemJob *photos_single_item_job_new (const gchar *urn);
TrackerSparqlCursor *photos_single_item_job_finish (PhotosSingleItemJob *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