summaryrefslogtreecommitdiff
path: root/libappstream-builder/asb-context.c
diff options
context:
space:
mode:
authorKalev Lember <klember@redhat.com>2015-09-08 13:32:28 +0200
committerKalev Lember <klember@redhat.com>2015-09-08 14:01:27 +0200
commita3d06c5cb6f85e963be74e8866e1c3bc71ee4990 (patch)
treea03c87bbf3d7d855439512083955490acf7aeb70 /libappstream-builder/asb-context.c
parent0bb28983f4f865a45cefcfdb4db66b6170bf8538 (diff)
downloadappstream-glib-a3d06c5cb6f85e963be74e8866e1c3bc71ee4990.tar.gz
libappstream-builder: Port to G_DECLARE_DERIVABLE_TYPE macro
Diffstat (limited to 'libappstream-builder/asb-context.c')
-rw-r--r--libappstream-builder/asb-context.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libappstream-builder/asb-context.c b/libappstream-builder/asb-context.c
index faf67ee..ae1b2eb 100644
--- a/libappstream-builder/asb-context.c
+++ b/libappstream-builder/asb-context.c
@@ -50,8 +50,7 @@
#include "asb-package-cab.h"
#include "asb-package-deb.h"
-typedef struct _AsbContextPrivate AsbContextPrivate;
-struct _AsbContextPrivate
+typedef struct
{
AsStore *store_failed;
AsStore *store_ignore;
@@ -73,7 +72,7 @@ struct _AsbContextPrivate
gchar *icons_dir;
gchar *basename;
gchar *origin;
-};
+} AsbContextPrivate;
G_DEFINE_TYPE_WITH_PRIVATE (AsbContext, asb_context, G_TYPE_OBJECT)