Commit 81c52b0d authored by Shivam Tripathi's avatar Shivam Tripathi Committed by Debarshi Ray

embed: Use G_DECLARE_FINAL_TYPE

Bump minimum GLib version to 2.44.0.

https://bugzilla.gnome.org/show_bug.cgi?id=763712
parent f2d4b031
......@@ -33,7 +33,7 @@ CAIRO_MIN_VERSION=1.14.0
GDATA_MIN_VERSION=0.15.2
GEGL_MIN_VERSION=0.3.5
GFBGRAPH_MIN_VERSION=0.2.1
GLIB_MIN_VERSION=2.39.3
GLIB_MIN_VERSION=2.44.0
GOA_MIN_VERSION=3.8.0
GRILO_MIN_VERSION=0.3.0
GTK_MIN_VERSION=3.19.1
......
......@@ -87,11 +87,6 @@ struct _PhotosEmbed
guint load_show_id;
};
struct _PhotosEmbedClass
{
GtkBoxClass parent_class;
};
G_DEFINE_TYPE (PhotosEmbed, photos_embed, GTK_TYPE_BOX);
......
......@@ -33,19 +33,7 @@
G_BEGIN_DECLS
#define PHOTOS_TYPE_EMBED (photos_embed_get_type ())
#define PHOTOS_EMBED(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
PHOTOS_TYPE_EMBED, PhotosEmbed))
#define PHOTOS_IS_EMBED(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
PHOTOS_TYPE_EMBED))
typedef struct _PhotosEmbed PhotosEmbed;
typedef struct _PhotosEmbedClass PhotosEmbedClass;
GType photos_embed_get_type (void) G_GNUC_CONST;
G_DECLARE_FINAL_TYPE(PhotosEmbed, photos_embed, PHOTOS, EMBED, GtkBox)
GtkWidget *photos_embed_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