summaryrefslogtreecommitdiff
path: root/src/xfpm-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xfpm-session.c')
-rw-r--r--src/xfpm-session.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xfpm-session.c b/src/xfpm-session.c
index e9417b9d..0483cd4f 100644
--- a/src/xfpm-session.c
+++ b/src/xfpm-session.c
@@ -167,3 +167,10 @@ void xfpm_session_set_client_id (XfpmSession *session, const gchar *client_id)
client_session_set_client_id (session->priv->client, client_id);
}
+
+void xfpm_session_quit (XfpmSession *session)
+{
+ g_return_if_fail (XFPM_IS_SESSION (session));
+
+ client_session_set_restart_style (session->priv->client, SESSION_RESTART_IF_RUNNING);
+}