summaryrefslogtreecommitdiff
path: root/libappstream-builder/asb-plugin-loader.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-plugin-loader.c
parent0bb28983f4f865a45cefcfdb4db66b6170bf8538 (diff)
downloadappstream-glib-a3d06c5cb6f85e963be74e8866e1c3bc71ee4990.tar.gz
libappstream-builder: Port to G_DECLARE_DERIVABLE_TYPE macro
Diffstat (limited to 'libappstream-builder/asb-plugin-loader.c')
-rw-r--r--libappstream-builder/asb-plugin-loader.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libappstream-builder/asb-plugin-loader.c b/libappstream-builder/asb-plugin-loader.c
index 35fd5d8..3a8a95d 100644
--- a/libappstream-builder/asb-plugin-loader.c
+++ b/libappstream-builder/asb-plugin-loader.c
@@ -34,13 +34,12 @@
#include "asb-plugin-loader.h"
#include "asb-plugin.h"
-typedef struct _AsbPluginLoaderPrivate AsbPluginLoaderPrivate;
-struct _AsbPluginLoaderPrivate
+typedef struct
{
GPtrArray *plugins;
AsbContext *ctx;
gchar *plugin_dir;
-};
+} AsbPluginLoaderPrivate;
G_DEFINE_TYPE_WITH_PRIVATE (AsbPluginLoader, asb_plugin_loader, G_TYPE_OBJECT)