diff --git a/gst/gstbuffer.c b/gst/gstbuffer.c index 53c76e4c33..2b515a3868 100644 --- a/gst/gstbuffer.c +++ b/gst/gstbuffer.c @@ -223,7 +223,7 @@ _memory_add (GstBuffer * buffer, guint idx, GstMemory * mem) GST_BUFFER_MEM_LEN (buffer) = len + 1; } -GST_DEFINE_MINI_OBJECT (GstBuffer, gst_buffer); +GST_DEFINE_MINI_OBJECT_TYPE (GstBuffer, gst_buffer); void _priv_gst_buffer_initialize (void) diff --git a/gst/gstbufferlist.c b/gst/gstbufferlist.c index 6fb48e22b2..8791e13add 100644 --- a/gst/gstbufferlist.c +++ b/gst/gstbufferlist.c @@ -54,7 +54,7 @@ struct _GstBufferList GType _gst_buffer_list_type = 0; -GST_DEFINE_MINI_OBJECT (GstBufferList, gst_buffer_list); +GST_DEFINE_MINI_OBJECT_TYPE (GstBufferList, gst_buffer_list); void _priv_gst_buffer_list_initialize (void) diff --git a/gst/gstcaps.c b/gst/gstcaps.c index 2dae852737..fdc6821723 100644 --- a/gst/gstcaps.c +++ b/gst/gstcaps.c @@ -115,7 +115,7 @@ static gboolean gst_caps_from_string_inplace (GstCaps * caps, GType _gst_caps_type = 0; -GST_DEFINE_MINI_OBJECT (GstCaps, gst_caps); +GST_DEFINE_MINI_OBJECT_TYPE (GstCaps, gst_caps); void _priv_gst_caps_initialize (void) diff --git a/gst/gstevent.c b/gst/gstevent.c index 518ebf6987..f85402e5c9 100644 --- a/gst/gstevent.c +++ b/gst/gstevent.c @@ -128,7 +128,7 @@ static GstEventQuarks event_quarks[] = { {0, NULL, 0} }; -GST_DEFINE_MINI_OBJECT (GstEvent, gst_event); +GST_DEFINE_MINI_OBJECT_TYPE (GstEvent, gst_event); void _priv_gst_event_initialize (void) diff --git a/gst/gstmessage.c b/gst/gstmessage.c index 26285c890c..41e7ccce53 100644 --- a/gst/gstmessage.c +++ b/gst/gstmessage.c @@ -108,7 +108,7 @@ static GstMessageQuarks message_quarks[] = { }; static GType _gst_message_type = 0; -GST_DEFINE_MINI_OBJECT (GstMessage, gst_message); +GST_DEFINE_MINI_OBJECT_TYPE (GstMessage, gst_message); void _priv_gst_message_initialize (void) diff --git a/gst/gstminiobject.h b/gst/gstminiobject.h index 347702be38..216ebb2778 100644 --- a/gst/gstminiobject.h +++ b/gst/gstminiobject.h @@ -215,9 +215,9 @@ gboolean gst_mini_object_replace (GstMiniObject **olddata, GstMin gboolean gst_mini_object_take (GstMiniObject **olddata, GstMiniObject *newdata); GstMiniObject * gst_mini_object_steal (GstMiniObject **olddata); -#define GST_DEFINE_MINI_OBJECT(TypeName,type_name) \ - G_DEFINE_BOXED_TYPE(TypeName,type_name, \ - (GBoxedCopyFunc) gst_mini_object_ref, \ +#define GST_DEFINE_MINI_OBJECT_TYPE(TypeName,type_name) \ + G_DEFINE_BOXED_TYPE(TypeName,type_name, \ + (GBoxedCopyFunc) gst_mini_object_ref, \ (GBoxedFreeFunc)gst_mini_object_unref) G_END_DECLS diff --git a/gst/gstquery.c b/gst/gstquery.c index 74874a9759..6a7703a2b7 100644 --- a/gst/gstquery.c +++ b/gst/gstquery.c @@ -108,7 +108,7 @@ static GstQueryTypeDefinition standard_definitions[] = { {GST_QUERY_NONE, NULL, NULL, 0} }; -GST_DEFINE_MINI_OBJECT (GstQuery, gst_query); +GST_DEFINE_MINI_OBJECT_TYPE (GstQuery, gst_query); void _priv_gst_query_initialize (void) diff --git a/win32/common/libgstreamer.def b/win32/common/libgstreamer.def index d22f42338b..aceee7e0b3 100644 --- a/win32/common/libgstreamer.def +++ b/win32/common/libgstreamer.def @@ -623,7 +623,6 @@ EXPORTS gst_mini_object_is_writable gst_mini_object_make_writable gst_mini_object_ref - gst_mini_object_register gst_mini_object_replace gst_mini_object_steal gst_mini_object_take