• Home
  • Raw
  • Download

Lines Matching refs:skeleton

3243   GXdpDocumentsSkeleton *skeleton = GXDP_DOCUMENTS_SKELETON (user_data);  in _gxdp_documents_skeleton_handle_method_call()  local
3259 g_value_set_object (&paramv[n++], skeleton); in _gxdp_documents_skeleton_handle_method_call()
3306 GXdpDocumentsSkeleton *skeleton = GXDP_DOCUMENTS_SKELETON (user_data); in _gxdp_documents_skeleton_handle_get_property() local
3314 pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); in _gxdp_documents_skeleton_handle_get_property()
3322 g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); in _gxdp_documents_skeleton_handle_get_property()
3340 GXdpDocumentsSkeleton *skeleton = GXDP_DOCUMENTS_SKELETON (user_data); in _gxdp_documents_skeleton_handle_set_property() local
3348 pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); in _gxdp_documents_skeleton_handle_set_property()
3359 g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); in _gxdp_documents_skeleton_handle_set_property()
3375 gxdp_documents_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) in gxdp_documents_skeleton_dbus_interface_get_info()
3381 gxdp_documents_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) in gxdp_documents_skeleton_dbus_interface_get_vtable()
3389 GXdpDocumentsSkeleton *skeleton = GXDP_DOCUMENTS_SKELETON (_skeleton); in gxdp_documents_skeleton_dbus_interface_get_properties() local
3402skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton))… in gxdp_documents_skeleton_dbus_interface_get_properties()
3420 GXdpDocumentsSkeleton *skeleton = GXDP_DOCUMENTS_SKELETON (_skeleton); in gxdp_documents_skeleton_dbus_interface_flush() local
3423 g_mutex_lock (&skeleton->priv->lock); in gxdp_documents_skeleton_dbus_interface_flush()
3424 if (skeleton->priv->changed_properties_idle_source != NULL) in gxdp_documents_skeleton_dbus_interface_flush()
3426 g_source_destroy (skeleton->priv->changed_properties_idle_source); in gxdp_documents_skeleton_dbus_interface_flush()
3427 skeleton->priv->changed_properties_idle_source = NULL; in gxdp_documents_skeleton_dbus_interface_flush()
3430 g_mutex_unlock (&skeleton->priv->lock); in gxdp_documents_skeleton_dbus_interface_flush()
3433 _gxdp_documents_emit_changed (skeleton); in gxdp_documents_skeleton_dbus_interface_flush()
3450 GXdpDocumentsSkeleton *skeleton = GXDP_DOCUMENTS_SKELETON (object); in G_DEFINE_TYPE_WITH_CODE() local
3453 g_value_unset (&skeleton->priv->properties[n]); in G_DEFINE_TYPE_WITH_CODE()
3454 g_free (skeleton->priv->properties); in G_DEFINE_TYPE_WITH_CODE()
3455 g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); in G_DEFINE_TYPE_WITH_CODE()
3456 if (skeleton->priv->changed_properties_idle_source != NULL) in G_DEFINE_TYPE_WITH_CODE()
3457 g_source_destroy (skeleton->priv->changed_properties_idle_source); in G_DEFINE_TYPE_WITH_CODE()
3458 g_main_context_unref (skeleton->priv->context); in G_DEFINE_TYPE_WITH_CODE()
3459 g_mutex_clear (&skeleton->priv->lock); in G_DEFINE_TYPE_WITH_CODE()
3469 GXdpDocumentsSkeleton *skeleton = GXDP_DOCUMENTS_SKELETON (object); in gxdp_documents_skeleton_get_property() local
3471 g_mutex_lock (&skeleton->priv->lock); in gxdp_documents_skeleton_get_property()
3472 g_value_copy (&skeleton->priv->properties[prop_id - 1], value); in gxdp_documents_skeleton_get_property()
3473 g_mutex_unlock (&skeleton->priv->lock); in gxdp_documents_skeleton_get_property()
3479 GXdpDocumentsSkeleton *skeleton = GXDP_DOCUMENTS_SKELETON (user_data); in _gxdp_documents_emit_changed() local
3485 g_mutex_lock (&skeleton->priv->lock); in _gxdp_documents_emit_changed()
3488 for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) in _gxdp_documents_emit_changed()
3494 cur_value = &skeleton->priv->properties[cp->prop_id - 1]; in _gxdp_documents_emit_changed()
3509 … connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); in _gxdp_documents_emit_changed()
3515 … NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), in _gxdp_documents_emit_changed()
3529 g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); in _gxdp_documents_emit_changed()
3530 skeleton->priv->changed_properties = NULL; in _gxdp_documents_emit_changed()
3531 skeleton->priv->changed_properties_idle_source = NULL; in _gxdp_documents_emit_changed()
3532 g_mutex_unlock (&skeleton->priv->lock); in _gxdp_documents_emit_changed()
3537 _gxdp_documents_schedule_emit_changed (GXdpDocumentsSkeleton *skeleton, const _ExtendedGDBusPropert… in _gxdp_documents_schedule_emit_changed() argument
3542 for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) in _gxdp_documents_schedule_emit_changed()
3556 skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); in _gxdp_documents_schedule_emit_changed()
3566 GXdpDocumentsSkeleton *skeleton = GXDP_DOCUMENTS_SKELETON (object); in gxdp_documents_skeleton_notify() local
3567 g_mutex_lock (&skeleton->priv->lock); in gxdp_documents_skeleton_notify()
3568 if (skeleton->priv->changed_properties != NULL && in gxdp_documents_skeleton_notify()
3569 skeleton->priv->changed_properties_idle_source == NULL) in gxdp_documents_skeleton_notify()
3571 skeleton->priv->changed_properties_idle_source = g_idle_source_new (); in gxdp_documents_skeleton_notify()
3572 g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); in gxdp_documents_skeleton_notify()
3573 …g_source_set_callback (skeleton->priv->changed_properties_idle_source, _gxdp_documents_emit_change… in gxdp_documents_skeleton_notify()
3574 …g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _gxdp_documents_em… in gxdp_documents_skeleton_notify()
3575 g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); in gxdp_documents_skeleton_notify()
3576 g_source_unref (skeleton->priv->changed_properties_idle_source); in gxdp_documents_skeleton_notify()
3578 g_mutex_unlock (&skeleton->priv->lock); in gxdp_documents_skeleton_notify()
3588 GXdpDocumentsSkeleton *skeleton = GXDP_DOCUMENTS_SKELETON (object); in gxdp_documents_skeleton_set_property() local
3591 g_mutex_lock (&skeleton->priv->lock); in gxdp_documents_skeleton_set_property()
3593 if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) in gxdp_documents_skeleton_set_property()
3595 if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && in gxdp_documents_skeleton_set_property()
3597 …_gxdp_documents_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_i… in gxdp_documents_skeleton_set_property()
3598 g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); in gxdp_documents_skeleton_set_property()
3601 g_mutex_unlock (&skeleton->priv->lock); in gxdp_documents_skeleton_set_property()
3606 gxdp_documents_skeleton_init (GXdpDocumentsSkeleton *skeleton) in gxdp_documents_skeleton_init() argument
3609 skeleton->priv = gxdp_documents_skeleton_get_instance_private (skeleton); in gxdp_documents_skeleton_init()
3611skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, GXDP_TYPE_DOCUMENTS_SKELETON, GXdpDocument… in gxdp_documents_skeleton_init()
3614 g_mutex_init (&skeleton->priv->lock); in gxdp_documents_skeleton_init()
3615 skeleton->priv->context = g_main_context_ref_thread_default (); in gxdp_documents_skeleton_init()
3616 skeleton->priv->properties = g_new0 (GValue, 1); in gxdp_documents_skeleton_init()
3617 g_value_init (&skeleton->priv->properties[0], G_TYPE_UINT); in gxdp_documents_skeleton_init()
3623 GXdpDocumentsSkeleton *skeleton = GXDP_DOCUMENTS_SKELETON (object); in gxdp_documents_skeleton_get_version() local
3625 g_mutex_lock (&skeleton->priv->lock); in gxdp_documents_skeleton_get_version()
3626 value = g_value_get_uint (&(skeleton->priv->properties[0])); in gxdp_documents_skeleton_get_version()
3627 g_mutex_unlock (&skeleton->priv->lock); in gxdp_documents_skeleton_get_version()
5008 GXdpOpenURISkeleton *skeleton = GXDP_OPEN_URI_SKELETON (user_data); in _gxdp_open_uri_skeleton_handle_method_call() local
5024 g_value_set_object (&paramv[n++], skeleton); in _gxdp_open_uri_skeleton_handle_method_call()
5071 GXdpOpenURISkeleton *skeleton = GXDP_OPEN_URI_SKELETON (user_data); in _gxdp_open_uri_skeleton_handle_get_property() local
5079 pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); in _gxdp_open_uri_skeleton_handle_get_property()
5087 g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); in _gxdp_open_uri_skeleton_handle_get_property()
5105 GXdpOpenURISkeleton *skeleton = GXDP_OPEN_URI_SKELETON (user_data); in _gxdp_open_uri_skeleton_handle_set_property() local
5113 pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); in _gxdp_open_uri_skeleton_handle_set_property()
5124 g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); in _gxdp_open_uri_skeleton_handle_set_property()
5140 gxdp_open_uri_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) in gxdp_open_uri_skeleton_dbus_interface_get_info()
5146 gxdp_open_uri_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) in gxdp_open_uri_skeleton_dbus_interface_get_vtable()
5154 GXdpOpenURISkeleton *skeleton = GXDP_OPEN_URI_SKELETON (_skeleton); in gxdp_open_uri_skeleton_dbus_interface_get_properties() local
5167skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton))… in gxdp_open_uri_skeleton_dbus_interface_get_properties()
5185 GXdpOpenURISkeleton *skeleton = GXDP_OPEN_URI_SKELETON (_skeleton); in gxdp_open_uri_skeleton_dbus_interface_flush() local
5188 g_mutex_lock (&skeleton->priv->lock); in gxdp_open_uri_skeleton_dbus_interface_flush()
5189 if (skeleton->priv->changed_properties_idle_source != NULL) in gxdp_open_uri_skeleton_dbus_interface_flush()
5191 g_source_destroy (skeleton->priv->changed_properties_idle_source); in gxdp_open_uri_skeleton_dbus_interface_flush()
5192 skeleton->priv->changed_properties_idle_source = NULL; in gxdp_open_uri_skeleton_dbus_interface_flush()
5195 g_mutex_unlock (&skeleton->priv->lock); in gxdp_open_uri_skeleton_dbus_interface_flush()
5198 _gxdp_open_uri_emit_changed (skeleton); in gxdp_open_uri_skeleton_dbus_interface_flush()
5215 GXdpOpenURISkeleton *skeleton = GXDP_OPEN_URI_SKELETON (object); in G_DEFINE_TYPE_WITH_CODE() local
5218 g_value_unset (&skeleton->priv->properties[n]); in G_DEFINE_TYPE_WITH_CODE()
5219 g_free (skeleton->priv->properties); in G_DEFINE_TYPE_WITH_CODE()
5220 g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); in G_DEFINE_TYPE_WITH_CODE()
5221 if (skeleton->priv->changed_properties_idle_source != NULL) in G_DEFINE_TYPE_WITH_CODE()
5222 g_source_destroy (skeleton->priv->changed_properties_idle_source); in G_DEFINE_TYPE_WITH_CODE()
5223 g_main_context_unref (skeleton->priv->context); in G_DEFINE_TYPE_WITH_CODE()
5224 g_mutex_clear (&skeleton->priv->lock); in G_DEFINE_TYPE_WITH_CODE()
5234 GXdpOpenURISkeleton *skeleton = GXDP_OPEN_URI_SKELETON (object); in gxdp_open_uri_skeleton_get_property() local
5236 g_mutex_lock (&skeleton->priv->lock); in gxdp_open_uri_skeleton_get_property()
5237 g_value_copy (&skeleton->priv->properties[prop_id - 1], value); in gxdp_open_uri_skeleton_get_property()
5238 g_mutex_unlock (&skeleton->priv->lock); in gxdp_open_uri_skeleton_get_property()
5244 GXdpOpenURISkeleton *skeleton = GXDP_OPEN_URI_SKELETON (user_data); in _gxdp_open_uri_emit_changed() local
5250 g_mutex_lock (&skeleton->priv->lock); in _gxdp_open_uri_emit_changed()
5253 for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) in _gxdp_open_uri_emit_changed()
5259 cur_value = &skeleton->priv->properties[cp->prop_id - 1]; in _gxdp_open_uri_emit_changed()
5274 … connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); in _gxdp_open_uri_emit_changed()
5280 … NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), in _gxdp_open_uri_emit_changed()
5294 g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); in _gxdp_open_uri_emit_changed()
5295 skeleton->priv->changed_properties = NULL; in _gxdp_open_uri_emit_changed()
5296 skeleton->priv->changed_properties_idle_source = NULL; in _gxdp_open_uri_emit_changed()
5297 g_mutex_unlock (&skeleton->priv->lock); in _gxdp_open_uri_emit_changed()
5302 _gxdp_open_uri_schedule_emit_changed (GXdpOpenURISkeleton *skeleton, const _ExtendedGDBusPropertyIn… in _gxdp_open_uri_schedule_emit_changed() argument
5307 for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) in _gxdp_open_uri_schedule_emit_changed()
5321 skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); in _gxdp_open_uri_schedule_emit_changed()
5331 GXdpOpenURISkeleton *skeleton = GXDP_OPEN_URI_SKELETON (object); in gxdp_open_uri_skeleton_notify() local
5332 g_mutex_lock (&skeleton->priv->lock); in gxdp_open_uri_skeleton_notify()
5333 if (skeleton->priv->changed_properties != NULL && in gxdp_open_uri_skeleton_notify()
5334 skeleton->priv->changed_properties_idle_source == NULL) in gxdp_open_uri_skeleton_notify()
5336 skeleton->priv->changed_properties_idle_source = g_idle_source_new (); in gxdp_open_uri_skeleton_notify()
5337 g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); in gxdp_open_uri_skeleton_notify()
5338 …g_source_set_callback (skeleton->priv->changed_properties_idle_source, _gxdp_open_uri_emit_changed… in gxdp_open_uri_skeleton_notify()
5339 …g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _gxdp_open_uri_emi… in gxdp_open_uri_skeleton_notify()
5340 g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); in gxdp_open_uri_skeleton_notify()
5341 g_source_unref (skeleton->priv->changed_properties_idle_source); in gxdp_open_uri_skeleton_notify()
5343 g_mutex_unlock (&skeleton->priv->lock); in gxdp_open_uri_skeleton_notify()
5353 GXdpOpenURISkeleton *skeleton = GXDP_OPEN_URI_SKELETON (object); in gxdp_open_uri_skeleton_set_property() local
5356 g_mutex_lock (&skeleton->priv->lock); in gxdp_open_uri_skeleton_set_property()
5358 if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) in gxdp_open_uri_skeleton_set_property()
5360 if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && in gxdp_open_uri_skeleton_set_property()
5362 …_gxdp_open_uri_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id… in gxdp_open_uri_skeleton_set_property()
5363 g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); in gxdp_open_uri_skeleton_set_property()
5366 g_mutex_unlock (&skeleton->priv->lock); in gxdp_open_uri_skeleton_set_property()
5371 gxdp_open_uri_skeleton_init (GXdpOpenURISkeleton *skeleton) in gxdp_open_uri_skeleton_init() argument
5374 skeleton->priv = gxdp_open_uri_skeleton_get_instance_private (skeleton); in gxdp_open_uri_skeleton_init()
5376skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, GXDP_TYPE_OPEN_URI_SKELETON, GXdpOpenURISk… in gxdp_open_uri_skeleton_init()
5379 g_mutex_init (&skeleton->priv->lock); in gxdp_open_uri_skeleton_init()
5380 skeleton->priv->context = g_main_context_ref_thread_default (); in gxdp_open_uri_skeleton_init()
5381 skeleton->priv->properties = g_new0 (GValue, 1); in gxdp_open_uri_skeleton_init()
5382 g_value_init (&skeleton->priv->properties[0], G_TYPE_UINT); in gxdp_open_uri_skeleton_init()
5388 GXdpOpenURISkeleton *skeleton = GXDP_OPEN_URI_SKELETON (object); in gxdp_open_uri_skeleton_get_version() local
5390 g_mutex_lock (&skeleton->priv->lock); in gxdp_open_uri_skeleton_get_version()
5391 value = g_value_get_uint (&(skeleton->priv->properties[0])); in gxdp_open_uri_skeleton_get_version()
5392 g_mutex_unlock (&skeleton->priv->lock); in gxdp_open_uri_skeleton_get_version()
6235 GXdpProxyResolverSkeleton *skeleton = GXDP_PROXY_RESOLVER_SKELETON (user_data); in _gxdp_proxy_resolver_skeleton_handle_method_call() local
6251 g_value_set_object (&paramv[n++], skeleton); in _gxdp_proxy_resolver_skeleton_handle_method_call()
6298 GXdpProxyResolverSkeleton *skeleton = GXDP_PROXY_RESOLVER_SKELETON (user_data); in _gxdp_proxy_resolver_skeleton_handle_get_property() local
6306 pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); in _gxdp_proxy_resolver_skeleton_handle_get_property()
6314 g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); in _gxdp_proxy_resolver_skeleton_handle_get_property()
6332 GXdpProxyResolverSkeleton *skeleton = GXDP_PROXY_RESOLVER_SKELETON (user_data); in _gxdp_proxy_resolver_skeleton_handle_set_property() local
6340 pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); in _gxdp_proxy_resolver_skeleton_handle_set_property()
6351 g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); in _gxdp_proxy_resolver_skeleton_handle_set_property()
6367 gxdp_proxy_resolver_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSE… in gxdp_proxy_resolver_skeleton_dbus_interface_get_info()
6373 gxdp_proxy_resolver_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNU… in gxdp_proxy_resolver_skeleton_dbus_interface_get_vtable()
6381 GXdpProxyResolverSkeleton *skeleton = GXDP_PROXY_RESOLVER_SKELETON (_skeleton); in gxdp_proxy_resolver_skeleton_dbus_interface_get_properties() local
6394skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton))… in gxdp_proxy_resolver_skeleton_dbus_interface_get_properties()
6412 GXdpProxyResolverSkeleton *skeleton = GXDP_PROXY_RESOLVER_SKELETON (_skeleton); in gxdp_proxy_resolver_skeleton_dbus_interface_flush() local
6415 g_mutex_lock (&skeleton->priv->lock); in gxdp_proxy_resolver_skeleton_dbus_interface_flush()
6416 if (skeleton->priv->changed_properties_idle_source != NULL) in gxdp_proxy_resolver_skeleton_dbus_interface_flush()
6418 g_source_destroy (skeleton->priv->changed_properties_idle_source); in gxdp_proxy_resolver_skeleton_dbus_interface_flush()
6419 skeleton->priv->changed_properties_idle_source = NULL; in gxdp_proxy_resolver_skeleton_dbus_interface_flush()
6422 g_mutex_unlock (&skeleton->priv->lock); in gxdp_proxy_resolver_skeleton_dbus_interface_flush()
6425 _gxdp_proxy_resolver_emit_changed (skeleton); in gxdp_proxy_resolver_skeleton_dbus_interface_flush()
6442 GXdpProxyResolverSkeleton *skeleton = GXDP_PROXY_RESOLVER_SKELETON (object); in G_DEFINE_TYPE_WITH_CODE() local
6445 g_value_unset (&skeleton->priv->properties[n]); in G_DEFINE_TYPE_WITH_CODE()
6446 g_free (skeleton->priv->properties); in G_DEFINE_TYPE_WITH_CODE()
6447 g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); in G_DEFINE_TYPE_WITH_CODE()
6448 if (skeleton->priv->changed_properties_idle_source != NULL) in G_DEFINE_TYPE_WITH_CODE()
6449 g_source_destroy (skeleton->priv->changed_properties_idle_source); in G_DEFINE_TYPE_WITH_CODE()
6450 g_main_context_unref (skeleton->priv->context); in G_DEFINE_TYPE_WITH_CODE()
6451 g_mutex_clear (&skeleton->priv->lock); in G_DEFINE_TYPE_WITH_CODE()
6461 GXdpProxyResolverSkeleton *skeleton = GXDP_PROXY_RESOLVER_SKELETON (object); in gxdp_proxy_resolver_skeleton_get_property() local
6463 g_mutex_lock (&skeleton->priv->lock); in gxdp_proxy_resolver_skeleton_get_property()
6464 g_value_copy (&skeleton->priv->properties[prop_id - 1], value); in gxdp_proxy_resolver_skeleton_get_property()
6465 g_mutex_unlock (&skeleton->priv->lock); in gxdp_proxy_resolver_skeleton_get_property()
6471 GXdpProxyResolverSkeleton *skeleton = GXDP_PROXY_RESOLVER_SKELETON (user_data); in _gxdp_proxy_resolver_emit_changed() local
6477 g_mutex_lock (&skeleton->priv->lock); in _gxdp_proxy_resolver_emit_changed()
6480 for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) in _gxdp_proxy_resolver_emit_changed()
6486 cur_value = &skeleton->priv->properties[cp->prop_id - 1]; in _gxdp_proxy_resolver_emit_changed()
6501 … connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); in _gxdp_proxy_resolver_emit_changed()
6507 … NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), in _gxdp_proxy_resolver_emit_changed()
6521 g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); in _gxdp_proxy_resolver_emit_changed()
6522 skeleton->priv->changed_properties = NULL; in _gxdp_proxy_resolver_emit_changed()
6523 skeleton->priv->changed_properties_idle_source = NULL; in _gxdp_proxy_resolver_emit_changed()
6524 g_mutex_unlock (&skeleton->priv->lock); in _gxdp_proxy_resolver_emit_changed()
6529 _gxdp_proxy_resolver_schedule_emit_changed (GXdpProxyResolverSkeleton *skeleton, const _ExtendedGDB… in _gxdp_proxy_resolver_schedule_emit_changed() argument
6534 for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) in _gxdp_proxy_resolver_schedule_emit_changed()
6548 skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); in _gxdp_proxy_resolver_schedule_emit_changed()
6558 GXdpProxyResolverSkeleton *skeleton = GXDP_PROXY_RESOLVER_SKELETON (object); in gxdp_proxy_resolver_skeleton_notify() local
6559 g_mutex_lock (&skeleton->priv->lock); in gxdp_proxy_resolver_skeleton_notify()
6560 if (skeleton->priv->changed_properties != NULL && in gxdp_proxy_resolver_skeleton_notify()
6561 skeleton->priv->changed_properties_idle_source == NULL) in gxdp_proxy_resolver_skeleton_notify()
6563 skeleton->priv->changed_properties_idle_source = g_idle_source_new (); in gxdp_proxy_resolver_skeleton_notify()
6564 g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); in gxdp_proxy_resolver_skeleton_notify()
6565 …g_source_set_callback (skeleton->priv->changed_properties_idle_source, _gxdp_proxy_resolver_emit_c… in gxdp_proxy_resolver_skeleton_notify()
6566 …g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _gxdp_proxy_resolv… in gxdp_proxy_resolver_skeleton_notify()
6567 g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); in gxdp_proxy_resolver_skeleton_notify()
6568 g_source_unref (skeleton->priv->changed_properties_idle_source); in gxdp_proxy_resolver_skeleton_notify()
6570 g_mutex_unlock (&skeleton->priv->lock); in gxdp_proxy_resolver_skeleton_notify()
6580 GXdpProxyResolverSkeleton *skeleton = GXDP_PROXY_RESOLVER_SKELETON (object); in gxdp_proxy_resolver_skeleton_set_property() local
6583 g_mutex_lock (&skeleton->priv->lock); in gxdp_proxy_resolver_skeleton_set_property()
6585 if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) in gxdp_proxy_resolver_skeleton_set_property()
6587 if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && in gxdp_proxy_resolver_skeleton_set_property()
6589 …_gxdp_proxy_resolver_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[p… in gxdp_proxy_resolver_skeleton_set_property()
6590 g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); in gxdp_proxy_resolver_skeleton_set_property()
6593 g_mutex_unlock (&skeleton->priv->lock); in gxdp_proxy_resolver_skeleton_set_property()
6598 gxdp_proxy_resolver_skeleton_init (GXdpProxyResolverSkeleton *skeleton) in gxdp_proxy_resolver_skeleton_init() argument
6601 skeleton->priv = gxdp_proxy_resolver_skeleton_get_instance_private (skeleton); in gxdp_proxy_resolver_skeleton_init()
6603skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, GXDP_TYPE_PROXY_RESOLVER_SKELETON, GXdpPro… in gxdp_proxy_resolver_skeleton_init()
6606 g_mutex_init (&skeleton->priv->lock); in gxdp_proxy_resolver_skeleton_init()
6607 skeleton->priv->context = g_main_context_ref_thread_default (); in gxdp_proxy_resolver_skeleton_init()
6608 skeleton->priv->properties = g_new0 (GValue, 1); in gxdp_proxy_resolver_skeleton_init()
6609 g_value_init (&skeleton->priv->properties[0], G_TYPE_UINT); in gxdp_proxy_resolver_skeleton_init()
6615 GXdpProxyResolverSkeleton *skeleton = GXDP_PROXY_RESOLVER_SKELETON (object); in gxdp_proxy_resolver_skeleton_get_version() local
6617 g_mutex_lock (&skeleton->priv->lock); in gxdp_proxy_resolver_skeleton_get_version()
6618 value = g_value_get_uint (&(skeleton->priv->properties[0])); in gxdp_proxy_resolver_skeleton_get_version()
6619 g_mutex_unlock (&skeleton->priv->lock); in gxdp_proxy_resolver_skeleton_get_version()
7477 GXdpTrashSkeleton *skeleton = GXDP_TRASH_SKELETON (user_data); in _gxdp_trash_skeleton_handle_method_call() local
7493 g_value_set_object (&paramv[n++], skeleton); in _gxdp_trash_skeleton_handle_method_call()
7540 GXdpTrashSkeleton *skeleton = GXDP_TRASH_SKELETON (user_data); in _gxdp_trash_skeleton_handle_get_property() local
7548 pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); in _gxdp_trash_skeleton_handle_get_property()
7556 g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); in _gxdp_trash_skeleton_handle_get_property()
7574 GXdpTrashSkeleton *skeleton = GXDP_TRASH_SKELETON (user_data); in _gxdp_trash_skeleton_handle_set_property() local
7582 pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); in _gxdp_trash_skeleton_handle_set_property()
7593 g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); in _gxdp_trash_skeleton_handle_set_property()
7609 gxdp_trash_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) in gxdp_trash_skeleton_dbus_interface_get_info()
7615 gxdp_trash_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) in gxdp_trash_skeleton_dbus_interface_get_vtable()
7623 GXdpTrashSkeleton *skeleton = GXDP_TRASH_SKELETON (_skeleton); in gxdp_trash_skeleton_dbus_interface_get_properties() local
7636skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton))… in gxdp_trash_skeleton_dbus_interface_get_properties()
7654 GXdpTrashSkeleton *skeleton = GXDP_TRASH_SKELETON (_skeleton); in gxdp_trash_skeleton_dbus_interface_flush() local
7657 g_mutex_lock (&skeleton->priv->lock); in gxdp_trash_skeleton_dbus_interface_flush()
7658 if (skeleton->priv->changed_properties_idle_source != NULL) in gxdp_trash_skeleton_dbus_interface_flush()
7660 g_source_destroy (skeleton->priv->changed_properties_idle_source); in gxdp_trash_skeleton_dbus_interface_flush()
7661 skeleton->priv->changed_properties_idle_source = NULL; in gxdp_trash_skeleton_dbus_interface_flush()
7664 g_mutex_unlock (&skeleton->priv->lock); in gxdp_trash_skeleton_dbus_interface_flush()
7667 _gxdp_trash_emit_changed (skeleton); in gxdp_trash_skeleton_dbus_interface_flush()
7684 GXdpTrashSkeleton *skeleton = GXDP_TRASH_SKELETON (object); in G_DEFINE_TYPE_WITH_CODE() local
7687 g_value_unset (&skeleton->priv->properties[n]); in G_DEFINE_TYPE_WITH_CODE()
7688 g_free (skeleton->priv->properties); in G_DEFINE_TYPE_WITH_CODE()
7689 g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); in G_DEFINE_TYPE_WITH_CODE()
7690 if (skeleton->priv->changed_properties_idle_source != NULL) in G_DEFINE_TYPE_WITH_CODE()
7691 g_source_destroy (skeleton->priv->changed_properties_idle_source); in G_DEFINE_TYPE_WITH_CODE()
7692 g_main_context_unref (skeleton->priv->context); in G_DEFINE_TYPE_WITH_CODE()
7693 g_mutex_clear (&skeleton->priv->lock); in G_DEFINE_TYPE_WITH_CODE()
7703 GXdpTrashSkeleton *skeleton = GXDP_TRASH_SKELETON (object); in gxdp_trash_skeleton_get_property() local
7705 g_mutex_lock (&skeleton->priv->lock); in gxdp_trash_skeleton_get_property()
7706 g_value_copy (&skeleton->priv->properties[prop_id - 1], value); in gxdp_trash_skeleton_get_property()
7707 g_mutex_unlock (&skeleton->priv->lock); in gxdp_trash_skeleton_get_property()
7713 GXdpTrashSkeleton *skeleton = GXDP_TRASH_SKELETON (user_data); in _gxdp_trash_emit_changed() local
7719 g_mutex_lock (&skeleton->priv->lock); in _gxdp_trash_emit_changed()
7722 for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) in _gxdp_trash_emit_changed()
7728 cur_value = &skeleton->priv->properties[cp->prop_id - 1]; in _gxdp_trash_emit_changed()
7743 … connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); in _gxdp_trash_emit_changed()
7749 … NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), in _gxdp_trash_emit_changed()
7763 g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); in _gxdp_trash_emit_changed()
7764 skeleton->priv->changed_properties = NULL; in _gxdp_trash_emit_changed()
7765 skeleton->priv->changed_properties_idle_source = NULL; in _gxdp_trash_emit_changed()
7766 g_mutex_unlock (&skeleton->priv->lock); in _gxdp_trash_emit_changed()
7771 _gxdp_trash_schedule_emit_changed (GXdpTrashSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *i… in _gxdp_trash_schedule_emit_changed() argument
7776 for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) in _gxdp_trash_schedule_emit_changed()
7790 skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); in _gxdp_trash_schedule_emit_changed()
7800 GXdpTrashSkeleton *skeleton = GXDP_TRASH_SKELETON (object); in gxdp_trash_skeleton_notify() local
7801 g_mutex_lock (&skeleton->priv->lock); in gxdp_trash_skeleton_notify()
7802 if (skeleton->priv->changed_properties != NULL && in gxdp_trash_skeleton_notify()
7803 skeleton->priv->changed_properties_idle_source == NULL) in gxdp_trash_skeleton_notify()
7805 skeleton->priv->changed_properties_idle_source = g_idle_source_new (); in gxdp_trash_skeleton_notify()
7806 g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); in gxdp_trash_skeleton_notify()
7807 …g_source_set_callback (skeleton->priv->changed_properties_idle_source, _gxdp_trash_emit_changed, g… in gxdp_trash_skeleton_notify()
7808 …g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _gxdp_trash_emit_c… in gxdp_trash_skeleton_notify()
7809 g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); in gxdp_trash_skeleton_notify()
7810 g_source_unref (skeleton->priv->changed_properties_idle_source); in gxdp_trash_skeleton_notify()
7812 g_mutex_unlock (&skeleton->priv->lock); in gxdp_trash_skeleton_notify()
7822 GXdpTrashSkeleton *skeleton = GXDP_TRASH_SKELETON (object); in gxdp_trash_skeleton_set_property() local
7825 g_mutex_lock (&skeleton->priv->lock); in gxdp_trash_skeleton_set_property()
7827 if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) in gxdp_trash_skeleton_set_property()
7829 if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && in gxdp_trash_skeleton_set_property()
7831 …_gxdp_trash_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - … in gxdp_trash_skeleton_set_property()
7832 g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); in gxdp_trash_skeleton_set_property()
7835 g_mutex_unlock (&skeleton->priv->lock); in gxdp_trash_skeleton_set_property()
7840 gxdp_trash_skeleton_init (GXdpTrashSkeleton *skeleton) in gxdp_trash_skeleton_init() argument
7843 skeleton->priv = gxdp_trash_skeleton_get_instance_private (skeleton); in gxdp_trash_skeleton_init()
7845skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, GXDP_TYPE_TRASH_SKELETON, GXdpTrashSkeleto… in gxdp_trash_skeleton_init()
7848 g_mutex_init (&skeleton->priv->lock); in gxdp_trash_skeleton_init()
7849 skeleton->priv->context = g_main_context_ref_thread_default (); in gxdp_trash_skeleton_init()
7850 skeleton->priv->properties = g_new0 (GValue, 1); in gxdp_trash_skeleton_init()
7851 g_value_init (&skeleton->priv->properties[0], G_TYPE_UINT); in gxdp_trash_skeleton_init()
7857 GXdpTrashSkeleton *skeleton = GXDP_TRASH_SKELETON (object); in gxdp_trash_skeleton_get_version() local
7859 g_mutex_lock (&skeleton->priv->lock); in gxdp_trash_skeleton_get_version()
7860 value = g_value_get_uint (&(skeleton->priv->properties[0])); in gxdp_trash_skeleton_get_version()
7861 g_mutex_unlock (&skeleton->priv->lock); in gxdp_trash_skeleton_get_version()