diff --git a/subprojects/gst-plugins-bad/ext/dtls/gstdtlsagent.c b/subprojects/gst-plugins-bad/ext/dtls/gstdtlsagent.c index 4070c79575..88cfa167f5 100644 --- a/subprojects/gst-plugins-bad/ext/dtls/gstdtlsagent.c +++ b/subprojects/gst-plugins-bad/ext/dtls/gstdtlsagent.c @@ -58,7 +58,7 @@ struct _GstDtlsAgentPrivate GstDtlsCertificate *certificate; }; -G_DEFINE_TYPE_WITH_PRIVATE (GstDtlsAgent, gst_dtls_agent, G_TYPE_OBJECT); +G_DEFINE_TYPE_WITH_PRIVATE (GstDtlsAgent, gst_dtls_agent, GST_TYPE_OBJECT); static void gst_dtls_agent_finalize (GObject * gobject); static void gst_dtls_agent_set_property (GObject *, guint prop_id, diff --git a/subprojects/gst-plugins-bad/ext/dtls/gstdtlsagent.h b/subprojects/gst-plugins-bad/ext/dtls/gstdtlsagent.h index fbfa1e860d..b4a4e209b6 100644 --- a/subprojects/gst-plugins-bad/ext/dtls/gstdtlsagent.h +++ b/subprojects/gst-plugins-bad/ext/dtls/gstdtlsagent.h @@ -28,7 +28,7 @@ #include "gstdtlscertificate.h" -#include +#include G_BEGIN_DECLS @@ -52,13 +52,13 @@ typedef struct _GstDtlsAgentPrivate GstDtlsAgentPrivate; * GstDtlsAgent needs to be constructed with the "certificate" property set. */ struct _GstDtlsAgent { - GObject parent_instance; + GstObject parent_instance; GstDtlsAgentPrivate *priv; }; struct _GstDtlsAgentClass { - GObjectClass parent_class; + GstObjectClass parent_class; }; GType gst_dtls_agent_get_type(void) G_GNUC_CONST; diff --git a/subprojects/gst-plugins-bad/ext/dtls/gstdtlsconnection.c b/subprojects/gst-plugins-bad/ext/dtls/gstdtlsconnection.c index 62db5db822..4fadde130b 100644 --- a/subprojects/gst-plugins-bad/ext/dtls/gstdtlsconnection.c +++ b/subprojects/gst-plugins-bad/ext/dtls/gstdtlsconnection.c @@ -107,8 +107,8 @@ struct _GstDtlsConnectionPrivate GThreadPool *thread_pool; }; -G_DEFINE_TYPE_WITH_CODE (GstDtlsConnection, gst_dtls_connection, G_TYPE_OBJECT, - G_ADD_PRIVATE (GstDtlsConnection) +G_DEFINE_TYPE_WITH_CODE (GstDtlsConnection, gst_dtls_connection, + GST_TYPE_OBJECT, G_ADD_PRIVATE (GstDtlsConnection) GST_DEBUG_CATEGORY_INIT (gst_dtls_connection_debug, "dtlsconnection", 0, "DTLS Connection")); diff --git a/subprojects/gst-plugins-bad/ext/dtls/gstdtlsconnection.h b/subprojects/gst-plugins-bad/ext/dtls/gstdtlsconnection.h index e899dd666b..82234fafdd 100644 --- a/subprojects/gst-plugins-bad/ext/dtls/gstdtlsconnection.h +++ b/subprojects/gst-plugins-bad/ext/dtls/gstdtlsconnection.h @@ -85,13 +85,13 @@ GType gst_dtls_connection_state_get_type (void); * Once the DTLS handshake is completed, on-encoder-key and on-decoder-key will be signalled. */ struct _GstDtlsConnection { - GObject parent_instance; + GstObject parent_instance; GstDtlsConnectionPrivate *priv; }; struct _GstDtlsConnectionClass { - GObjectClass parent_class; + GstObjectClass parent_class; }; GType gst_dtls_connection_get_type(void) G_GNUC_CONST;