diff options
Diffstat (limited to 'rest-extras/flickr-proxy-call.c')
-rw-r--r-- | rest-extras/flickr-proxy-call.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/rest-extras/flickr-proxy-call.c b/rest-extras/flickr-proxy-call.c index ad8b74e..a9bc6f7 100644 --- a/rest-extras/flickr-proxy-call.c +++ b/rest-extras/flickr-proxy-call.c @@ -109,7 +109,13 @@ flickr_proxy_call_class_init (FlickrProxyCallClass *klass) call_class->prepare = _prepare; obj_class->set_property = flickr_proxy_call_set_property; - pspec = g_param_spec_boolean ("upload", "upload", NULL, + /** + * FlickrProxyCall:upload: + * + * Set if the call should be sent to the photo upload endpoint and not the + * general-purpose endpoint. + */ + pspec = g_param_spec_boolean ("upload", "upload", "upload", FALSE, G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS); g_object_class_install_property (obj_class, PROP_UPLOAD, pspec); } |