[gstreamermm] Value: Glib::Value<> specializations: Derive from ValueBase_Boxed.
- From: José Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm] Value: Glib::Value<> specializations: Derive from ValueBase_Boxed.
- Date: Wed, 25 May 2011 04:26:57 +0000 (UTC)
commit 5e5e27429d95832b9bd0d99d872d3e529940c9bf
Author: José Alburquerque <jaalburqu svn gnome org>
Date: Tue May 24 17:58:49 2011 -0400
Value: Glib::Value<> specializations: Derive from ValueBase_Boxed.
* gstreamer/src/value.hg: Make sure the Glib::Value<> specializations
for the range classes derive from ValueBase_Boxed so that the classes
can be used as properties.
ChangeLog | 8 ++++++++
gstreamer/src/value.hg | 8 ++++----
2 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7a93125..7cfc350 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-05-24 José Alburquerque <jaalburqu svn gnome org>
+
+ Value: Glib::Value<> specializations: Derive from ValueBase_Boxed.
+
+ * gstreamer/src/value.hg: Make sure the Glib::Value<> specializations
+ for the range classes derive from ValueBase_Boxed so that the classes
+ can be used as properties.
+
2011-05-23 José Alburquerque <jaalburqu svn gnome org>
Structure: Remove the need of conversions when setting fields.
diff --git a/gstreamer/src/value.hg b/gstreamer/src/value.hg
index 583410e..04288e4 100644
--- a/gstreamer/src/value.hg
+++ b/gstreamer/src/value.hg
@@ -344,7 +344,7 @@ public:
};
template<>
-class Value<Gst::IntRange> : public ValueBase
+class Value<Gst::IntRange> : public ValueBase_Boxed
{
public:
typedef Gst::IntRange CppType;
@@ -356,7 +356,7 @@ public:
};
template<>
-class Value<Gst::DoubleRange> : public ValueBase
+class Value<Gst::DoubleRange> : public ValueBase_Boxed
{
public:
typedef Gst::DoubleRange CppType;
@@ -368,7 +368,7 @@ public:
};
template<>
-class Value<Gst::Fraction> : public ValueBase
+class Value<Gst::Fraction> : public ValueBase_Boxed
{
public:
typedef Gst::Fraction CppType;
@@ -380,7 +380,7 @@ public:
};
template<>
-class Value<Gst::FractionRange> : public ValueBase
+class Value<Gst::FractionRange> : public ValueBase_Boxed
{
public:
typedef Gst::FractionRange CppType;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]