After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 533681 - GStreamer's Structure.get_value doesn't work
GStreamer's Structure.get_value doesn't work
Status: RESOLVED DUPLICATE of bug 530817
Product: vala
Classification: Core
Component: Bindings
0.3.x
Other Linux
: Normal major
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2008-05-18 09:15 UTC by Sebastian Pölsterl
Modified: 2008-05-18 11:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test case (136 bytes, application/octet-stream)
2008-05-18 09:17 UTC, Sebastian Pölsterl
Details

Description Sebastian Pölsterl 2008-05-18 09:15:04 UTC
I can't compile code that uses the get_value method of the Gst.Structure class
Comment 1 Sebastian Pölsterl 2008-05-18 09:17:28 UTC
Created attachment 111088 [details]
Test case

$ LANG=en_US valac -o structure-test --pkg gstreamer-0.10 structure-test.vala 
structure-test.c: In function 'structure_test_doit':
structure-test.c:20: error: incompatible types in assignment
error: cc exited with status 256
Compilation failed: 1 error(s), 0 warning(s)

Looking at the C source it is:
GValue val;
val = gst_structure_get_value (s, "programs");

but it should be GValue *val; in the first line.
Comment 2 Jaap A. Haitsma 2008-05-18 11:49:15 UTC

*** This bug has been marked as a duplicate of 530817 ***