diff --git a/xfce4-session/xfsm-properties.c b/xfce4-session/xfsm-properties.c index 45243dd..f194822 100644 --- a/xfce4-session/xfsm-properties.c +++ b/xfce4-session/xfsm-properties.c @@ -188,7 +188,7 @@ xfsm_properties_new (const gchar *client_id, { XfsmProperties *properties; - properties = g_slice_new0 (XfsmProperties); + properties = g_new0 (XfsmProperties, 1); properties->client_id = g_strdup (client_id); properties->hostname = g_strdup (hostname); properties->pid = -1; @@ -722,5 +722,5 @@ xfsm_properties_free (XfsmProperties *properties) g_tree_destroy (properties->sm_properties); - g_slice_free (XfsmProperties, properties); + g_free (properties); }