rem: char *argv[] = { "rm", "-r", NULL }; const char *prefix; gboolean succeeded = TRUE;
add: char *argv[] = { NULL, NULL, NULL, NULL, NULL, NULL, NULL }; int i = 0; char *path_id, *current, *seek;  path_id = totem_session_create_key (); totem_playlist_save_current_playlist (totem->playlist, path_id);
context: totem_save_yourself_cb (GnomeClient *client, int phase, GnomeSaveStyle style,		gboolean shutting_down, GnomeInteractStyle interact_style,		gboolean fast, Totem *totem){	char *argv[] = { "rm", "-r", NULL };	const char *prefix;	gboolean succeeded = TRUE;	/* How to discard the save */	prefix = gnome_client_get_config_prefix (client);	g_message ("prefix %s real_path %s", prefix, gnome_config_get_real_path (prefix));	argv[2] = gnome_config_get_real_path (prefix);	gnome_client_set_discard_command (client, 3, argv);	/* How to clone or restart */	argv[0] = (char *) totem->argv0;	argv[1] = NULL;	gnome_client_set_clone_command (client, 1, argv);	gnome_client_set_restart_command (client, 1, argv);	return succeeded;}