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 592346 - gst_element_get_state params state and pending can be null.
gst_element_get_state params state and pending can be null.
Status: RESOLVED INVALID
Product: vala
Classification: Core
Component: Bindings: GTK+ GStreamer WebKitGTK+
0.7.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2009-08-19 15:35 UTC by Víctor Manuel Jáquez Leal
Modified: 2009-09-15 17:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gst_element_get_state params state and pending can be null. (2.02 KB, patch)
2009-08-19 15:35 UTC, Víctor Manuel Jáquez Leal
none Details | Review

Description Víctor Manuel Jáquez Leal 2009-08-19 15:35:58 UTC
Created attachment 141167 [details] [review]
gst_element_get_state params state and pending can be null.

gst_element_get_state [1] accept nullable paramaters for state and pending

1.
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#gst-element-get-state
Comment 1 Jürg Billeter 2009-09-15 17:02:11 UTC
This doesn't look correct. A nullable out parameter is a parameter that can return a nullable value. However, whatyou probably mean is that you can pass null to ignore the value. This is always accepted in Vala and doesn't need any annotation. Reopen the bug if you disagree.