|
mate-desktop 1.29.2
Library with common API for various MATE modules
|
#include <gio/gio.h>Functions | |
| void | mate_start_systemd_scope (const char *name, gint32 pid, const char *description, GDBusConnection *connection, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) |
| gboolean | mate_start_systemd_scope_finish (GAsyncResult *res, GError **error) |
| mate_start_systemd_scope_finish: @res: A #GAsyncResult @error: Return location for errors, or NULL to ignore | |
| void mate_start_systemd_scope | ( | const char * | name, |
| gint32 | pid, | ||
| const char * | description, | ||
| GDBusConnection * | connection, | ||
| GCancellable * | cancellable, | ||
| GAsyncReadyCallback | callback, | ||
| gpointer | user_data | ||
| ) |
| gboolean mate_start_systemd_scope_finish | ( | GAsyncResult * | res, |
| GError ** | error | ||
| ) |
mate_start_systemd_scope_finish: @res: A #GAsyncResult @error: Return location for errors, or NULL to ignore
Finish an asynchronous operation to create a transient scope that was started with mate_start_systemd_scope().
Note that a successful return code does not imply that a unit has been created. It solely means that no error condition was hit sending the request.
Returns: FALSE on error, TRUE otherwise