Lines Matching refs:session
104 gchar *session;
123 G_DEFINE_TYPE (Session, session, G_TYPE_OBJECT);
596 Session *session = NULL;
624 g_debug ("Loaded session %s (%s)", path, name);
625 session = g_object_new (session_get_type (), NULL);
626 session->username = g_strdup (name);
627 session->path = g_strdup (path);
628 priv->sessions = g_list_append (priv->sessions, session);
633 return session;
646 Session *session;
650 session = load_session (user_list, path);
651 if (session)
652 user = get_user_by_name (user_list, session->username);
668 Session *session = link->data;
669 if (strcmp (session->path, path) == 0)
675 user = get_user_by_name (user_list, session->username);
678 g_object_unref (session);
820 g_warning ("Error getting session list from org.freedesktop.DisplayManager: %s", error->message);
1158 if (priv->session)
1159 g_free (priv->session);
1160 priv->session = g_key_file_get_string (priv->dmrc_file, "Desktop", "Session", NULL);
1286 if (priv->session)
1287 g_free (priv->session);
1288 priv->session = get_string_property (account->proxy, "XSession");
1307 /* Loads language/layout/session info for user */
1376 * Get the session for a user.
1378 * Return value: The session for the given user or #NULL if using system defaults.
1385 return GET_USER_PRIVATE (user)->session;
1407 Session *session = link->data;
1408 if (strcmp (session->username, priv->name) == 0)
1591 g_param_spec_string ("session",
1592 "session",
1600 "TRUE if the user is currently in a session",
1628 session_init (Session *session)