summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-icon.c
diff options
context:
space:
mode:
Diffstat (limited to 'libappstream-glib/as-icon.c')
-rw-r--r--libappstream-glib/as-icon.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libappstream-glib/as-icon.c b/libappstream-glib/as-icon.c
index 83586e2..dfdf37e 100644
--- a/libappstream-glib/as-icon.c
+++ b/libappstream-glib/as-icon.c
@@ -40,8 +40,7 @@
#include "as-utils-private.h"
#include "as-yaml.h"
-typedef struct _AsIconPrivate AsIconPrivate;
-struct _AsIconPrivate
+typedef struct
{
AsIconKind kind;
gchar *name;
@@ -53,7 +52,7 @@ struct _AsIconPrivate
guint height;
GdkPixbuf *pixbuf;
GBytes *data;
-};
+} AsIconPrivate;
G_DEFINE_TYPE_WITH_PRIVATE (AsIcon, as_icon, G_TYPE_OBJECT)