[farsight2/master] De-invert the copy/destroy function of FsCodec and FsCandidate
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:19:33 PST 2008
---
gst-libs/gst/farsight/fs-candidate.c | 8 ++++----
gst-libs/gst/farsight/fs-codec.c | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/gst-libs/gst/farsight/fs-candidate.c b/gst-libs/gst/farsight/fs-candidate.c
index 5be6bf4..4d7046b 100644
--- a/gst-libs/gst/farsight/fs-candidate.c
+++ b/gst-libs/gst/farsight/fs-candidate.c
@@ -43,8 +43,8 @@ fs_candidate_get_type (void)
{
candidate_type = g_boxed_type_register_static (
"FsCandidate",
- (GBoxedCopyFunc)fs_candidate_destroy,
- (GBoxedFreeFunc)fs_candidate_copy);
+ (GBoxedCopyFunc)fs_candidate_copy,
+ (GBoxedFreeFunc)fs_candidate_destroy);
}
return candidate_type;
@@ -58,8 +58,8 @@ fs_candidate_list_get_type (void)
{
candidate_list_type = g_boxed_type_register_static (
"FsCandidateList",
- (GBoxedCopyFunc)fs_candidate_list_destroy,
- (GBoxedFreeFunc)fs_candidate_list_copy);
+ (GBoxedCopyFunc)fs_candidate_list_copy,
+ (GBoxedFreeFunc)fs_candidate_list_destroy);
}
return candidate_list_type;
diff --git a/gst-libs/gst/farsight/fs-codec.c b/gst-libs/gst/farsight/fs-codec.c
index 18eb899..62d1079 100644
--- a/gst-libs/gst/farsight/fs-codec.c
+++ b/gst-libs/gst/farsight/fs-codec.c
@@ -49,8 +49,8 @@ fs_codec_get_type (void)
{
codec_type = g_boxed_type_register_static (
"FsCodec",
- (GBoxedCopyFunc)fs_codec_destroy,
- (GBoxedFreeFunc)fs_codec_copy);
+ (GBoxedCopyFunc)fs_codec_copy,
+ (GBoxedFreeFunc)fs_codec_destroy);
}
return codec_type;
@@ -64,8 +64,8 @@ fs_codec_list_get_type (void)
{
codec_list_type = g_boxed_type_register_static (
"FsCodecGList",
- (GBoxedCopyFunc)fs_codec_list_destroy,
- (GBoxedFreeFunc)fs_codec_list_copy);
+ (GBoxedCopyFunc)fs_codec_list_copy,
+ (GBoxedFreeFunc)fs_codec_list_destroy);
}
return codec_list_type;
--
1.5.6.5
More information about the farsight-commits
mailing list