summaryrefslogtreecommitdiff
path: root/libgupnp-av/gupnp-feature-list-parser.h
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2021-07-04 00:31:56 +0200
committerJens Georg <mail@jensge.org>2021-07-04 00:42:26 +0200
commit23597361a32a50b95764c1e69aeb760bfa8269b0 (patch)
tree0d2662289863e510f5ca09730562ce7873e61212 /libgupnp-av/gupnp-feature-list-parser.h
parentb85c0758f1c001482408f1f4d7903b75a3eb1740 (diff)
downloadgupnp-av-23597361a32a50b95764c1e69aeb760bfa8269b0.tar.gz
Make Feature and FeatureListParser final types
It is not useful to ever derive from that
Diffstat (limited to 'libgupnp-av/gupnp-feature-list-parser.h')
-rw-r--r--libgupnp-av/gupnp-feature-list-parser.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/libgupnp-av/gupnp-feature-list-parser.h b/libgupnp-av/gupnp-feature-list-parser.h
index 08ca0d8..52edeb8 100644
--- a/libgupnp-av/gupnp-feature-list-parser.h
+++ b/libgupnp-av/gupnp-feature-list-parser.h
@@ -15,18 +15,13 @@
G_BEGIN_DECLS
-G_DECLARE_DERIVABLE_TYPE(GUPnPFeatureListParser,
- gupnp_feature_list_parser,
- GUPNP,
- FEATURE_LIST_PARSER,
- GObject)
-
-#define GUPNP_TYPE_FEATURE_LIST_PARSER \
- (gupnp_feature_list_parser_get_type ())
-
-struct _GUPnPFeatureListParserClass{
- GObjectClass parent_class;
-};
+G_DECLARE_FINAL_TYPE (GUPnPFeatureListParser,
+ gupnp_feature_list_parser,
+ GUPNP,
+ FEATURE_LIST_PARSER,
+ GObject)
+
+#define GUPNP_TYPE_FEATURE_LIST_PARSER (gupnp_feature_list_parser_get_type ())
GUPnPFeatureListParser *
gupnp_feature_list_parser_new (void);