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 758770 - clutter_gst_camera_device_get_capture_resolution not usable by Python
clutter_gst_camera_device_get_capture_resolution not usable by Python
Status: RESOLVED FIXED
Product: clutter-gst
Classification: Other
Component: general
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: clutter-gst-maint
clutter-gst-maint
Depends on:
Blocks:
 
 
Reported: 2015-11-28 11:08 UTC by Chris Mayo
Modified: 2015-12-10 15:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
CameraDevice: add (out) annotation to get_capture_resolution parameters (1.21 KB, patch)
2015-11-28 11:08 UTC, Chris Mayo
committed Details | Review

Description Chris Mayo 2015-11-28 11:08:11 UTC
Created attachment 316438 [details] [review]
CameraDevice: add (out) annotation to get_capture_resolution parameters

No integer pointers in Python therefore need to annotate with (out).

Patch attached. N.B. also causes change from transfer-ownership="none" to transfer-ownership="full" in gir file:

             <type name="gint" c:type="gint*"/>
           </parameter>
-          <parameter name="height" transfer-ownership="none">
+          <parameter name="height"
+                     direction="out"
+                     caller-allocates="0"
+                     transfer-ownership="full">
Comment 1 Lionel Landwerlin 2015-12-10 15:25:27 UTC
Review of attachment 316438 [details] [review]:

Thanks, pushed to the 3.0 branch.