diff options
author | Kalev Lember <klember@redhat.com> | 2015-09-08 13:32:28 +0200 |
---|---|---|
committer | Kalev Lember <klember@redhat.com> | 2015-09-08 14:01:27 +0200 |
commit | a3d06c5cb6f85e963be74e8866e1c3bc71ee4990 (patch) | |
tree | a03c87bbf3d7d855439512083955490acf7aeb70 /libappstream-builder/asb-plugin-loader.c | |
parent | 0bb28983f4f865a45cefcfdb4db66b6170bf8538 (diff) | |
download | appstream-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.c | 5 |
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) |