From 0bb28983f4f865a45cefcfdb4db66b6170bf8538 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 8 Sep 2015 12:53:35 +0200 Subject: libappstream-glib: Port to G_DECLARE_DERIVABLE_TYPE macro ... and bump glib dep to 2.44.0 for the macro. --- libappstream-glib/as-provide.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libappstream-glib/as-provide.c') diff --git a/libappstream-glib/as-provide.c b/libappstream-glib/as-provide.c index 27b1aec..8189973 100644 --- a/libappstream-glib/as-provide.c +++ b/libappstream-glib/as-provide.c @@ -38,12 +38,11 @@ #include "as-utils-private.h" #include "as-yaml.h" -typedef struct _AsProvidePrivate AsProvidePrivate; -struct _AsProvidePrivate +typedef struct { AsProvideKind kind; gchar *value; -}; +} AsProvidePrivate; G_DEFINE_TYPE_WITH_PRIVATE (AsProvide, as_provide, G_TYPE_OBJECT) -- cgit v1.2.1