mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
validate: Return the GstValidateAction on .ref()
This commit is contained in:
parent
abaa382847
commit
c2c5c68573
2 changed files with 4 additions and 4 deletions
|
@ -346,10 +346,10 @@ gst_validate_action_init (GstValidateAction * action)
|
|||
g_weak_ref_init (&action->priv->scenario, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
GstValidateAction *
|
||||
gst_validate_action_ref (GstValidateAction * action)
|
||||
{
|
||||
gst_mini_object_ref (GST_MINI_OBJECT (action));
|
||||
return (GstValidateAction *) gst_mini_object_ref (GST_MINI_OBJECT (action));
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -126,9 +126,9 @@ GstValidateAction * gst_validate_action_new (GstValidateScenario * sc
|
|||
GstStructure *structure,
|
||||
gboolean add_to_lists);
|
||||
GST_VALIDATE_API
|
||||
void gst_validate_action_ref (GstValidateAction * action);
|
||||
GstValidateAction* gst_validate_action_ref (GstValidateAction * action);
|
||||
GST_VALIDATE_API
|
||||
void gst_validate_action_unref (GstValidateAction * action);
|
||||
void gst_validate_action_unref (GstValidateAction * action);
|
||||
|
||||
#define GST_TYPE_VALIDATE_ACTION (gst_validate_action_get_type ())
|
||||
#define GST_IS_VALIDATE_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_VALIDATE_ACTION))
|
||||
|
|
Loading…
Reference in a new issue