Commit graph

8 commits

Author SHA1 Message Date
Stephan Sundermann
9ea7669e86 Object: Fixed compilation on .NET
Using variables cannot be modified in .NET but can be in mono
so switch to a good old Dispose call here.

https://bugzilla.xamarin.com/show_bug.cgi?id=15832#c0
2013-12-21 16:52:28 +01:00
Andrés G. Aragoneses
6b297b921f Gst.Object: add some pre-validation to property setter 2013-12-21 16:52:25 +01:00
Andrés G. Aragoneses
2bd2b1d7af Gst.Object: fix creation of GValues for property setter in custom code
The GValue needs to hold the type of the value, it's not related to
"this" or "property".
2013-12-21 16:52:25 +01:00
Stephan Sundermann
6b886b90ac Gst.Object: Fixed property existance check
g_object_class_find_property's return value does not need to be freed
and needs a GObjectClass*
2013-12-21 16:52:21 +01:00
Stephan Sundermann
6f9a3c777e Gst.Object: use 'using' pattern for GValue 2013-12-21 16:52:21 +01:00
Stephan Sundermann
d4edf8050d Gst.Object: Improved performance on multiple property calls
Successful property lookups get cached in a dictionary
to improve performance of subsequent lookups
2013-12-21 16:52:21 +01:00
Stephan Sundermann
4d0a5a796b Check if property exists before accessing or setting it
Previously when accessing/setting a property which does not exist,
there will be segmentation faults
2013-12-21 16:52:21 +01:00
Stephan Sundermann
3d42f7d625 Added glue Added dynamic signals Regenerated API 2013-12-21 16:52:20 +01:00