mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
gst-libs/gst/interfaces/propertyprobe.c: Fix wrong macro usage; it's G_OBJECT_GET_CLASS(obj) or ot G_OBJECT_CLASS(obj...
Original commit message from CVS: Reviewed by: Tim-Philipp Müller <tim at centricular dot net> * gst-libs/gst/interfaces/propertyprobe.c: (gst_property_probe_probe_property_name), (gst_property_probe_needs_probe_name), (gst_property_probe_get_values_name), (gst_property_probe_probe_and_get_values_name): Fix wrong macro usage; it's G_OBJECT_GET_CLASS(obj) or G_OBJECT_CLASS(klass), not G_OBJECT_CLASS(obj). (#316571)
This commit is contained in:
parent
82da93b310
commit
f09d105f14
2 changed files with 16 additions and 4 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
|||
2005-09-19 Torsten Schoenfeld <kaffeetisch at gmx dot net>
|
||||
|
||||
Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst-libs/gst/interfaces/propertyprobe.c:
|
||||
(gst_property_probe_probe_property_name),
|
||||
(gst_property_probe_needs_probe_name),
|
||||
(gst_property_probe_get_values_name),
|
||||
(gst_property_probe_probe_and_get_values_name):
|
||||
Fix wrong macro usage; it's G_OBJECT_GET_CLASS(obj) or
|
||||
G_OBJECT_CLASS(klass), not G_OBJECT_CLASS(obj). (#316571)
|
||||
|
||||
2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* check/Makefile.am:
|
||||
|
|
|
@ -163,7 +163,7 @@ gst_property_probe_probe_property_name (GstPropertyProbe * probe,
|
|||
g_return_if_fail (probe != NULL);
|
||||
g_return_if_fail (name != NULL);
|
||||
|
||||
pspec = g_object_class_find_property (G_OBJECT_CLASS (probe), name);
|
||||
pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (probe), name);
|
||||
if (!pspec) {
|
||||
g_warning ("No such property %s", name);
|
||||
return;
|
||||
|
@ -222,7 +222,7 @@ gst_property_probe_needs_probe_name (GstPropertyProbe * probe,
|
|||
g_return_val_if_fail (probe != NULL, FALSE);
|
||||
g_return_val_if_fail (name != NULL, FALSE);
|
||||
|
||||
pspec = g_object_class_find_property (G_OBJECT_CLASS (probe), name);
|
||||
pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (probe), name);
|
||||
if (!pspec) {
|
||||
g_warning ("No such property %s", name);
|
||||
return FALSE;
|
||||
|
@ -278,7 +278,7 @@ gst_property_probe_get_values_name (GstPropertyProbe * probe,
|
|||
g_return_val_if_fail (probe != NULL, NULL);
|
||||
g_return_val_if_fail (name != NULL, NULL);
|
||||
|
||||
pspec = g_object_class_find_property (G_OBJECT_CLASS (probe), name);
|
||||
pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (probe), name);
|
||||
if (!pspec) {
|
||||
g_warning ("No such property %s", name);
|
||||
return NULL;
|
||||
|
@ -335,7 +335,7 @@ gst_property_probe_probe_and_get_values_name (GstPropertyProbe * probe,
|
|||
g_return_val_if_fail (probe != NULL, NULL);
|
||||
g_return_val_if_fail (name != NULL, NULL);
|
||||
|
||||
pspec = g_object_class_find_property (G_OBJECT_CLASS (probe), name);
|
||||
pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (probe), name);
|
||||
if (!pspec) {
|
||||
g_warning ("No such property %s", name);
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue