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 677710 - Make ArvCamera a proper GObject
Make ArvCamera a proper GObject
Status: RESOLVED FIXED
Product: aravis
Classification: Other
Component: Other
git master
Other All
: Normal normal
: ---
Assigned To: aravis-maint
aravis-maint
Depends on:
Blocks:
 
 
Reported: 2012-06-08 13:56 UTC by John Stowers
Modified: 2012-06-08 14:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make ArvCamera a proper GObject (4.24 KB, patch)
2012-06-08 13:56 UTC, John Stowers
committed Details | Review

Description John Stowers 2012-06-08 13:56:34 UTC
* Make device a construct only GObject property
* Do camera setup in arv_camera_constructor (move code that
  was in arv_camera_new here)

There is no change in behaviour nor API
Comment 1 John Stowers 2012-06-08 13:56:35 UTC
Created attachment 215956 [details] [review]
Make ArvCamera a proper GObject
Comment 2 John Stowers 2012-06-08 14:09:44 UTC
(this lets you do the following)

device = arv_gv_device_new(interface_address, device_address);
camera =  g_object_new (ARV_TYPE_CAMERA, "device", device, NULL);
Comment 3 Emmanuel Pacaud 2012-06-08 14:45:09 UTC
Review of attachment 215956 [details] [review]:

Commited. Thanks.