summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-screenshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'libappstream-glib/as-screenshot.c')
-rw-r--r--libappstream-glib/as-screenshot.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libappstream-glib/as-screenshot.c b/libappstream-glib/as-screenshot.c
index d2183c6..e43c767 100644
--- a/libappstream-glib/as-screenshot.c
+++ b/libappstream-glib/as-screenshot.c
@@ -41,14 +41,13 @@
#include "as-utils-private.h"
#include "as-yaml.h"
-typedef struct _AsScreenshotPrivate AsScreenshotPrivate;
-struct _AsScreenshotPrivate
+typedef struct
{
AsScreenshotKind kind;
GHashTable *captions;
GPtrArray *images;
gint priority;
-};
+} AsScreenshotPrivate;
G_DEFINE_TYPE_WITH_PRIVATE (AsScreenshot, as_screenshot, G_TYPE_OBJECT)