Commit graph

12 commits

Author SHA1 Message Date
Justin Kim
894fee310f Fix few leaks after strdup
https://bugzilla.gnome.org/show_bug.cgi?id=792899
2018-01-26 19:27:05 +02:00
Thibault Saunier
9c289eb563 Do not use glue anymore!
This is not needed anymore as ABI compatible structures are now generated
and used by the code generator.
2017-09-06 13:22:57 -03:00
Andrés G. Aragoneses
7d3adcc33d sources: replace AGPL headers with LGPL-2.1
https://bugzilla.gnome.org/show_bug.cgi?id=725937
2014-05-28 14:17:31 +02:00
Andrés G. Aragoneses
bcb8c7d1a3 custom/glue: fix some file headers (licences and authors)
Most of the contents of these files come from their *.custom
counterparts of the 0.9.x version of the bindings, so I'm
reinstating their author/licence info here.

In some cases, the content is pristine to the previous version
(no modification since then), so for these cases the current
licence is replaced completely with the previous licence.

These were spotted while creating a first version of a debian
package (creating a debian/copyright info file requires you
to audit all this). This is not (yet) part of BGO#725937.
2014-05-28 13:45:05 +02:00
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