Top |
cd-profile-synccd-profile-sync — Sync helpers for CdProfile |
These helper functions provide a simple way to use the async functions in command line tools.
See also: CdProfile
gboolean cd_profile_connect_sync (CdProfile *profile
,GCancellable *cancellable
,GError **error
);
Connects to the object and fills up initial properties.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
Since: 0.1.8
gboolean cd_profile_set_property_sync (CdProfile *profile
,const gchar *key
,const gchar *value
,GCancellable *cancellable
,GError **error
);
Sets properties on an object
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
profile |
a CdProfile instance. |
|
key |
The key |
|
value |
The value |
|
cancellable |
a GCancellable or |
|
error |
Since: 0.1.8
gboolean cd_profile_install_system_wide_sync (CdProfile *profile
,GCancellable *cancellable
,GError **error
);
Sets the profile system wide.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
Since: 0.1.8